Author: lukaszlenart
Date: Sun Dec  9 12:51:14 2012
New Revision: 1418920

URL: http://svn.apache.org/viewvc?rev=1418920&view=rev
Log:
WW-2537 clears warning about generics

Modified:
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/MultiselectInterceptor.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/MultiselectInterceptor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/MultiselectInterceptor.java?rev=1418920&r1=1418919&r2=1418920&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/MultiselectInterceptor.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/MultiselectInterceptor.java
 Sun Dec  9 12:51:14 2012
@@ -20,16 +20,14 @@
  */
 package org.apache.struts2.interceptor;
 
+import com.opensymphony.xwork2.ActionInvocation;
+import com.opensymphony.xwork2.interceptor.AbstractInterceptor;
 
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
 import java.util.Set;
 
-import com.opensymphony.xwork2.ActionInvocation;
-import com.opensymphony.xwork2.interceptor.AbstractInterceptor;
-
-
 /**
  * Just as the CheckboxInterceptor checks that if only the hidden field is 
present, so too does this interceptor. If
  * the "__multiselect_" request parameter is present and its visible 
counterpart is not, set a new request parameter to an
@@ -49,7 +47,7 @@ public class MultiselectInterceptor exte
      * @see 
com.opensymphony.xwork2.interceptor.Interceptor#intercept(com.opensymphony.xwork2.ActionInvocation)
      */
     public String intercept(ActionInvocation actionInvocation) throws 
Exception {
-        Map parameters = 
actionInvocation.getInvocationContext().getParameters();
+        Map<String, Object> parameters = 
actionInvocation.getInvocationContext().getParameters();
         Map<String, Object> newParams = new HashMap<String, Object>();
         Set<String> keys = parameters.keySet();
 
@@ -74,4 +72,5 @@ public class MultiselectInterceptor exte
 
         return actionInvocation.invoke();
     }
+
 }
\ No newline at end of file


Reply via email to