Should I add a new method on TypeInfo for applying this trim, as we did with sys property
replace:
| /**
| * Convert a value
| *
| * @param value the original value
| * @param replaceProperties whether to replace properties
| * @return the converted value
| * @throws Throwable for any error
| */
| Object convertValue(Object value, boolean replaceProperties) throws Throwable;
|
| /**
| * Convert a value
| *
| * @param value the original value
| * @param replaceProperties whether to replace properties
| * @param trim do we trim
| * @return the converted value
| * @throws Throwable for any error
| */
| Object convertValue(Object value, boolean replaceProperties, boolean trim) throws
Throwable;
|
|
So that this trim is not just a setting of StringValueMetaData.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087912#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...