incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r929669 - /incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/model/MetaBean.java
Date Wed, 31 Mar 2010 19:23:41 GMT
Author: simonetripodi
Date: Wed Mar 31 19:23:41 2010
New Revision: 929669

URL: http://svn.apache.org/viewvc?rev=929669&view=rev
Log:
added parameter to Class type
added missing serialVersionUID

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

Modified: incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/model/MetaBean.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/model/MetaBean.java?rev=929669&r1=929668&r2=929669&view=diff
==============================================================================
--- incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/model/MetaBean.java (original)
+++ incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/model/MetaBean.java Wed Mar
31 19:23:41 2010
@@ -29,9 +29,11 @@ import org.apache.commons.lang.ArrayUtil
  * @see MetaProperty
  */
 public class MetaBean extends FeaturesCapable implements Cloneable, Features.Bean {
+    private static final long serialVersionUID = 1L;
+
     private String id;
     private String name;
-    private Class beanClass;
+    private Class<?> beanClass;
     private MetaProperty[] properties = new MetaProperty[0];
 
     public String getId() {
@@ -46,7 +48,7 @@ public class MetaBean extends FeaturesCa
         return name;
     }
 
-    public Class getBeanClass() {
+    public Class<?> getBeanClass() {
         return beanClass;
     }
 
@@ -54,7 +56,7 @@ public class MetaBean extends FeaturesCa
         this.name = name;
     }
 
-    public void setBeanClass(Class beanClass) {
+    public void setBeanClass(Class<?> beanClass) {
         this.beanClass = beanClass;
     }
 



Mime
View raw message