incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosv...@apache.org
Subject svn commit: r956140 - /incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Generator.java
Date Fri, 18 Jun 2010 22:47:52 GMT
Author: carlosvara
Date: Fri Jun 18 22:47:52 2010
New Revision: 956140

URL: http://svn.apache.org/viewvc?rev=956140&view=rev
Log:
Initialize fields in base beans

Modified:
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Generator.java

Modified: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Generator.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Generator.java?rev=956140&r1=956139&r2=956140&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Generator.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Generator.java
Fri Jun 18 22:47:52 2010
@@ -90,7 +90,9 @@ public class Generator {
         }
 
         // PHASE 5: Generate population code
-        generateHolderClass(cm, beans);
+        List<MetaJavaBean> allBeans = Lists.newArrayList(beans);
+        allBeans.addAll(baseBeans);
+        generateHolderClass(cm, allBeans);
 
 
         // Create the .java files



Mime
View raw message