You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2008/11/16 18:28:27 UTC

svn commit: r718063 - /tomcat/trunk/java/org/apache/jasper/compiler/Parser.java

Author: markt
Date: Sun Nov 16 09:28:26 2008
New Revision: 718063

URL: http://svn.apache.org/viewvc?rev=718063&view=rev
Log:
Remove pointless brackets

Modified:
    tomcat/trunk/java/org/apache/jasper/compiler/Parser.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/Parser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Parser.java?rev=718063&r1=718062&r2=718063&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/Parser.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Parser.java Sun Nov 16 09:28:26 2008
@@ -286,7 +286,7 @@
                 }
             } 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).



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org