commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r651767 - /commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/AbstractStateMachine.java
Date Sat, 26 Apr 2008 01:11:01 GMT
Author: rahul
Date: Fri Apr 25 18:10:57 2008
New Revision: 651767

URL: http://svn.apache.org/viewvc?rev=651767&view=rev
Log:
Eliminate raw type warnings.

Modified:
    commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/AbstractStateMachine.java

Modified: commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/AbstractStateMachine.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/AbstractStateMachine.java?rev=651767&r1=651766&r2=651767&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/AbstractStateMachine.java
(original)
+++ commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/AbstractStateMachine.java
Fri Apr 25 18:10:57 2008
@@ -83,7 +83,7 @@
      * The method signature for the activities corresponding to each
      * state in the SCXML document.
      */
-    private static final Class[] SIGNATURE = new Class[0];
+    private static final Class<?>[] SIGNATURE = new Class[0];
 
     /**
      * The method parameters for the activities corresponding to each
@@ -250,7 +250,7 @@
      * @return Whether the invoke was successful.
      */
     public boolean invoke(final String methodName) {
-        Class clas = this.getClass();
+        Class<?> clas = this.getClass();
         try {
             Method method = clas.getDeclaredMethod(methodName, SIGNATURE);
             method.invoke(this, PARAMETERS);



Mime
View raw message