commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1164506 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchLookupCommand.java
Date Fri, 02 Sep 2011 12:32:49 GMT
Author: simonetripodi
Date: Fri Sep  2 12:32:49 2011
New Revision: 1164506

URL: http://svn.apache.org/viewvc?rev=1164506&view=rev
Log:
removed unneeded cast

Modified:
    commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchLookupCommand.java

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchLookupCommand.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchLookupCommand.java?rev=1164506&r1=1164505&r2=1164506&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchLookupCommand.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchLookupCommand.java
Fri Sep  2 12:32:49 2011
@@ -188,7 +188,7 @@ public class DispatchLookupCommand<C ext
      * @return the method arguments to be used
      */
     protected Object[] getArguments(C context) {
-        return (Object[])new Object[] {context};
+        return new Object[] {context};
     }
 
 



Mime
View raw message