Replace "if(" with "if ("

This commit is contained in:
Rossen Stoyanchev
2014-10-27 09:04:23 -04:00
parent 6592784ef4
commit da612d079f
15 changed files with 28 additions and 28 deletions

View File

@@ -97,8 +97,8 @@ public abstract class HtmlEscapingAwareTag extends RequestContextAwareTag {
*/
protected String htmlEscape(String content) {
String out = content;
if(isHtmlEscape()) {
if(isResponseEncodedHtmlEscape()) {
if (isHtmlEscape()) {
if (isResponseEncodedHtmlEscape()) {
out = HtmlUtils.htmlEscape(content, this.pageContext.getResponse().getCharacterEncoding());
}
else {