} else if (Double.class.equals(toType)
|| Double.TYPE.equals(toType)) {
result = new StringToDoubleValidator((NumberFormatConverter) converter);
} else if (Byte.class.equals(toType)
|| 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 (Date.class.equals(toType)
&& converter instanceof StringToDateConverter) {