fixed: static trimRight(String s) function inside TextUnit didn't trim anything
can I move this and other String util functions inside the Utils class?
for example inside the MessageFactory classes there is a function
that should format a String with the passed parameters and it's copy/pasted
all over the place
also it returns null if the locale parameter is null... is it expected?
static trimRight(String s)
function insideTextUnit
didn't trim anythingcan I move this and other String util functions inside the Utils class?
for example inside the MessageFactory classes there is a function that should format a String with the passed parameters and it's copy/pasted all over the place
also it returns
null
if thelocale
parameter is null... is it expected?