Switched to use StringUtils for un/captitalize
This commit is contained in:
parent
79cbf76761
commit
538a8d35ae
4 changed files with 11 additions and 47 deletions
|
@ -19,6 +19,7 @@ package rife.render;
|
|||
|
||||
import rife.template.Template;
|
||||
import rife.template.ValueRenderer;
|
||||
import rife.tools.StringUtils;
|
||||
|
||||
/**
|
||||
* <p>Un-capitalizes a template value.</p>
|
||||
|
@ -40,6 +41,6 @@ public class Uncapitalize implements ValueRenderer {
|
|||
*/
|
||||
@Override
|
||||
public String render(Template template, String valueId, String differentiator) {
|
||||
return RenderUtils.uncapitalize(template.getValueOrAttribute(differentiator));
|
||||
return StringUtils.uncapitalize(template.getValueOrAttribute(differentiator));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue