incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r929223 - /incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/SecureActions.java
Date Tue, 30 Mar 2010 18:47:19 GMT
Author: simonetripodi
Date: Tue Mar 30 18:47:19 2010
New Revision: 929223

URL: http://svn.apache.org/viewvc?rev=929223&view=rev
Log:
parametrized Class type

Modified:
    incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/SecureActions.java

Modified: incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/SecureActions.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/SecureActions.java?rev=929223&r1=929222&r2=929223&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/SecureActions.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/SecureActions.java
Tue Mar 30 18:47:19 2010
@@ -48,7 +48,7 @@ public class SecureActions extends Privi
         return newInstance(cls, ValidationException.class);
     }
 
-    public static <T> T newInstance(final Class<T> cls, final Class[] paramTypes,
+    public static <T> T newInstance(final Class<T> cls, final Class<?>[]
paramTypes,
                                     final Object[] values) {
         return newInstance(cls, ValidationException.class, paramTypes, values);
     }
@@ -74,7 +74,7 @@ public class SecureActions extends Privi
         });
     }
 
-    public static Field getDeclaredField(final Class clazz, final String fieldName) {
+    public static Field getDeclaredField(final Class<?> clazz, final String fieldName)
{
         return run(new PrivilegedAction<Field>() {
             public Field run() {
                 try {



Mime
View raw message