Switched to getValueOrAttribute()
This commit is contained in:
parent
625c211b62
commit
4460e98f67
19 changed files with 18 additions and 38 deletions
|
@ -40,6 +40,6 @@ public class SwapCase implements ValueRenderer {
|
|||
*/
|
||||
@Override
|
||||
public String render(Template template, String valueId, String differentiator) {
|
||||
return RenderUtils.swapCase(RenderUtils.fetchValue(template, differentiator));
|
||||
return RenderUtils.swapCase(template.getValueOrAttribute(differentiator));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue