incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r929701 - /incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanBuilder.java
Date Wed, 31 Mar 2010 19:55:44 GMT
Author: simonetripodi
Date: Wed Mar 31 19:55:44 2010
New Revision: 929701

URL: http://svn.apache.org/viewvc?rev=929701&view=rev
Log:
added generics parameters

Modified:
    incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanBuilder.java

Modified: incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanBuilder.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanBuilder.java?rev=929701&r1=929700&r2=929701&view=diff
==============================================================================
--- incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanBuilder.java (original)
+++ incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanBuilder.java Wed
Mar 31 19:55:44 2010
@@ -210,7 +210,7 @@ public class MetaBeanBuilder {
         return buildForClass(findLocalClass(xmlMeta.getImpl()));
     }
 
-    protected Class findLocalClass(String className) {
+    protected Class<?> findLocalClass(String className) {
         if (className != null) {
             try {
                 return ClassUtils.getClass(className);
@@ -221,7 +221,7 @@ public class MetaBeanBuilder {
         return null;
     }
 
-    public MetaBean buildForClass(Class clazz) throws Exception {
+    public MetaBean buildForClass(Class<?> clazz) throws Exception {
         MetaBean meta = new MetaBean();
         if (clazz != null) { // local class here?
             meta.setBeanClass(clazz);



Mime
View raw message