You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mc...@apache.org on 2011/09/20 18:30:35 UTC

svn commit: r1173229 - /struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FreeMarkerView.java

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=\"([^\"]+)\"[^>]*>");
     }
 }