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/10/26 01:21:21 UTC
svn commit: r1188966 -
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
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");
}
}