commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1163732 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchCommand.java
Date Wed, 31 Aug 2011 18:21:48 GMT
Author: simonetripodi
Date: Wed Aug 31 18:21:48 2011
New Revision: 1163732

URL: http://svn.apache.org/viewvc?rev=1163732&view=rev
Log:
fixed generic types warnings

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

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchCommand.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchCommand.java?rev=1163732&r1=1163731&r2=1163732&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchCommand.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/generic/DispatchCommand.java
Wed Aug 31 18:21:48 2011
@@ -48,7 +48,7 @@ public abstract class DispatchCommand<C 
      * The base implementation expects dispatch methods to take a <code>Context</code>
      * as their only argument.
      */
-    protected static final Class[] DEFAULT_SIGNATURE = new Class[] {Context.class};
+    protected static final Class<?>[] DEFAULT_SIGNATURE = new Class<?>[] {Context.class};
 
 
     /**
@@ -136,7 +136,7 @@ public abstract class DispatchCommand<C 
      * Return a <code>Class[]</code> describing the expected signature of the
method.
      * @return The method signature.
      */
-    protected Class[] getSignature() {
+    protected Class<?>[] getSignature() {
         return DEFAULT_SIGNATURE;
     }
 



Mime
View raw message