incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r929696 - /incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanCache.java
Date Wed, 31 Mar 2010 19:53:26 GMT
Author: simonetripodi
Date: Wed Mar 31 19:53:25 2010
New Revision: 929696

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

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

Modified: incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanCache.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanCache.java?rev=929696&r1=929695&r2=929696&view=diff
==============================================================================
--- incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanCache.java (original)
+++ incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/MetaBeanCache.java Wed Mar
31 19:53:25 2010
@@ -30,6 +30,8 @@ import java.util.Map;
  * Copyright: Agimatec GmbH 2008
  */
 public class MetaBeanCache implements MetaBeanFinder, Serializable {
+    private static final long serialVersionUID = 1L;
+
     protected final FastHashMap cacheById;
     protected final FastHashMap cacheByClass;
 
@@ -56,7 +58,7 @@ public class MetaBeanCache implements Me
         return (MetaBean) cacheById.get(beanInfoId);
     }
 
-    public MetaBean findForClass(Class clazz) {
+    public MetaBean findForClass(Class<?> clazz) {
         return (MetaBean) cacheByClass.get(clazz);
     }
 



Mime
View raw message