struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1188966 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
Date Tue, 25 Oct 2011 23:21:21 GMT
Author: mcucchiara
Date: Tue Oct 25 23:21:21 2011
New Revision: 1188966

URL: http://svn.apache.org/viewvc?rev=1188966&view=rev
Log:
Removed unused private Log, avoid explicit array creation

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java?rev=1188966&r1=1188965&r2=1188966&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
Tue Oct 25 23:21:21 2011
@@ -135,8 +135,6 @@ public class ServletActionRedirectResult
     /** The default parameter */
     public static final String DEFAULT_PARAM = "actionName";
 
-    private static final Logger LOG = LoggerFactory.getLogger(ServletActionRedirectResult.class);
-
     protected String actionName;
     protected String namespace;
     protected String method;
@@ -229,8 +227,6 @@ public class ServletActionRedirectResult
 
     protected List<String> getProhibitedResultParams()
     {
-        return Arrays.asList(new String[] {
-                DEFAULT_PARAM, "namespace", "method", "encode", "parse", "location", "prependServletContext",
"suppressEmptyParameters", "anchor"
-        });
+        return Arrays.asList(DEFAULT_PARAM, "namespace", "method", "encode", "parse", "location",
"prependServletContext", "suppressEmptyParameters", "anchor");
     }
 }



Mime
View raw message