Remove pointless brackets
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 16 Nov 2008 17:28:26 +0000 (17:28 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 16 Nov 2008 17:28:26 +0000 (17:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@718063 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/compiler/Parser.java

index 03e58d0..40e7d91 100644 (file)
@@ -286,7 +286,7 @@ class Parser implements TagConstants {
                 }
             } else if (ch == '\\' && i + 1 < size) {
                 ch = tx.charAt(i + 1);
-                if (ch == '\\' || ch == '\"' || ch == '\'' || (ch == '>')) {
+                if (ch == '\\' || ch == '\"' || ch == '\'' || ch == '>') {
                     // \ " and ' are always unescaped regardless of if they are
                     // inside or outside of an EL expression. JSP.1.6 takes
                     // precedence over JSP.1.3.10 (confirmed with EG).