commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r651768 - /commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java
Date Sat, 26 Apr 2008 01:15:26 GMT
Author: rahul
Date: Fri Apr 25 18:15:20 2008
New Revision: 651768

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

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

Modified: commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java?rev=651768&r1=651767&r2=651768&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java
(original)
+++ commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java
Fri Apr 25 18:15:20 2008
@@ -261,7 +261,7 @@
         public Method resolveFunction(final String prefix,
                 final String localName) {
             if (localName.equals("In")) {
-                Class[] attrs = new Class[] {Set.class, String.class};
+                Class<?>[] attrs = new Class<?>[] {Set.class, String.class};
                 try {
                     return Builtin.class.getMethod("isMember", attrs);
                 } catch (SecurityException e) {
@@ -271,7 +271,7 @@
                 }
             } else if (localName.equals("Data")) {
                 // rvalue in expressions, coerce to String
-                Class[] attrs =
+                Class<?>[] attrs =
                     new Class[] {Map.class, Object.class, String.class};
                 try {
                     return Builtin.class.getMethod("data", attrs);
@@ -282,7 +282,7 @@
                 }
             } else if (localName.equals("LData")) {
                 // lvalue in expressions, retain as Node
-                Class[] attrs =
+                Class<?>[] attrs =
                     new Class[] {Map.class, Object.class, String.class};
                 try {
                     return Builtin.class.getMethod("dataNode", attrs);



Mime
View raw message