struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1173229 - /struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FreeMarkerView.java
Date Tue, 20 Sep 2011 16:30:35 GMT
Author: mcucchiara
Date: Tue Sep 20 16:30:35 2011
New Revision: 1173229

URL: http://svn.apache.org/viewvc?rev=1173229&view=rev
Log:
Removed redundant escape sequence

Modified:
    struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FreeMarkerView.java

Modified: struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FreeMarkerView.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FreeMarkerView.java?rev=1173229&r1=1173228&r2=1173229&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FreeMarkerView.java
(original)
+++ struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FreeMarkerView.java
Tue Sep 20 16:30:35 2011
@@ -32,10 +32,10 @@ public class FreeMarkerView extends File
     }
 
     protected Pattern getActionPattern() {
-        return Pattern.compile("<\\@s.action [^>]*name=\"([^\"]+)\"[^>]*>");
+        return Pattern.compile("<@s.action [^>]*name=\"([^\"]+)\"[^>]*>");
     }
 
     protected Pattern getFormPattern() {
-        return Pattern.compile("<\\@s.form [^>]*action=\"([^\"]+)\"[^>]*>");
+        return Pattern.compile("<@s.form [^>]*action=\"([^\"]+)\"[^>]*>");
     }
 }



Mime
View raw message