In org.apache.camel.dataformat.bindy.FormatFactory for non "BigNumbers" the
Format object is chosen as follow:
if (clazz == float.class || clazz == Float.class) {
return pattern != null ? new FloatPatternFormat(pattern,
getLocale(locale)) : new FloatFormat();
}
I've noticed that the DataFiled annotation define the pattern field with ""
(empty String) as default value, thus the FormatFactory will always return
the *PatternFormat and never the simple *Format.
Is there a reason for such behavior?
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-bindy-Handle-implied-decimal-field-tp5723003p5723280.html
Sent from the Camel - Users mailing list archive at Nabble.com.