You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ra...@apache.org on 2008/04/26 03:11:01 UTC

svn commit: r651767 - /commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/AbstractStateMachine.java

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);