You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2014/08/01 16:45:25 UTC

svn commit: r1615127 - /myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java

Author: lofwyr
Date: Fri Aug  1 14:45:25 2014
New Revision: 1615127

URL: http://svn.apache.org/r1615127
Log:
redundant cast

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java?rev=1615127&r1=1615126&r2=1615127&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java Fri Aug  1 14:45:25 2014
@@ -50,8 +50,7 @@ public final class AjaxUtils {
   }
 
   public static boolean isAjaxRequest(final ServletRequest request) {
-    final String[] ajaxComponentIds
-        = ((Map<String, String[]>) request.getParameterMap()).get(AjaxInternalUtils.TOBAGO_PARTIAL_IDS);
+    final String[] ajaxComponentIds = request.getParameterMap().get(AjaxInternalUtils.TOBAGO_PARTIAL_IDS);
     return ajaxComponentIds != null && ajaxComponentIds.length > 0;
   }