|| Byte.TYPE.equals(toType)) {
result = new StringToByteValidator(
(NumberFormatConverter) converter);
} else if (Short.class.equals(toType)
|| Short.TYPE.equals(toType)) {
result = new StringToShortValidator(
(NumberFormatConverter) converter);
} else if (Character.class.equals(toType)
|| Character.TYPE.equals(toType)
&& converter instanceof StringToCharacterConverter) {
result = new StringToCharacterValidator(