New to spring, we have a whole pile of validators that generate java warnings, I was able to hide them using the "@SuppressWarnings" annotation, however what is the proper way to sort this out?
public class SignInValidator implements
org.springframework.validation.Validator {
@SuppressWarnings("unchecked")
public boolean supports(Class clazz) {
return clazz.equals(SignInCredentials.class);
}