bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosv...@apache.org
Subject svn commit: r956030 - in /incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench: ./ jsr303/ metatree/
Date Fri, 18 Jun 2010 15:54:11 GMT
Author: carlosvara
Date: Fri Jun 18 15:54:11 2010
New Revision: 956030

URL: http://svn.apache.org/viewvc?rev=956030&view=rev
Log:
Refactored some classes to the metatree pkg

Added:
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/Annotable.java
      - copied, changed from r955874, incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Annotable.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotationType.java
      - copied, changed from r955874, incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotationType.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotatorVisitor.java
      - copied, changed from r955874, incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotatorVisitor.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/BasicType.java
      - copied, changed from r956027, incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/BasicType.java
Removed:
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Annotable.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotationType.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotatorVisitor.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/BasicType.java
Modified:
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/jsr303/Jsr303Annotator.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AbstractMetaField.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanBasicField.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanRefField.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaAnnotation.java
    incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaJavaBean.java

Modified: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/jsr303/Jsr303Annotator.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/jsr303/Jsr303Annotator.java?rev=956030&r1=956029&r2=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/jsr303/Jsr303Annotator.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/jsr303/Jsr303Annotator.java
Fri Jun 18 15:54:11 2010
@@ -38,11 +38,11 @@ import javax.validation.constraints.NotN
 import javax.validation.constraints.Null;
 import javax.validation.constraints.Pattern;
 import javax.validation.constraints.Size;
-import org.apache.bval.bench.AnnotationType;
-import org.apache.bval.bench.AnnotatorVisitor;
-import org.apache.bval.bench.BasicType;
 import org.apache.bval.bench.Config;
 import org.apache.bval.bench.metatree.AbstractMetaField;
+import org.apache.bval.bench.metatree.AnnotationType;
+import org.apache.bval.bench.metatree.AnnotatorVisitor;
+import org.apache.bval.bench.metatree.BasicType;
 import org.apache.bval.bench.metatree.JavaBeanBasicField;
 import org.apache.bval.bench.metatree.JavaBeanRefField;
 import org.apache.bval.bench.metatree.MetaAnnotation;

Modified: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AbstractMetaField.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AbstractMetaField.java?rev=956030&r1=956029&r2=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AbstractMetaField.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AbstractMetaField.java
Fri Jun 18 15:54:11 2010
@@ -19,7 +19,6 @@
 package org.apache.bval.bench.metatree;
 
 import java.util.Set;
-import org.apache.bval.bench.Annotable;
 import com.google.common.collect.Sets;
 import com.sun.codemodel.JFieldVar;
 

Copied: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/Annotable.java
(from r955874, incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Annotable.java)
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/Annotable.java?p2=incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/Annotable.java&p1=incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Annotable.java&r1=955874&r2=956030&rev=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/Annotable.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/Annotable.java
Fri Jun 18 15:54:11 2010
@@ -16,9 +16,8 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.bval.bench;
+package org.apache.bval.bench.metatree;
 
-import org.apache.bval.bench.metatree.MetaAnnotation;
 
 
 /**

Copied: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotationType.java
(from r955874, incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotationType.java)
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotationType.java?p2=incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotationType.java&p1=incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotationType.java&r1=955874&r2=956030&rev=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotationType.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotationType.java
Fri Jun 18 15:54:11 2010
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.bval.bench;
+package org.apache.bval.bench.metatree;
 
 /**
  * The types of supported annotations by the generator.

Copied: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotatorVisitor.java
(from r955874, incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotatorVisitor.java)
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotatorVisitor.java?p2=incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotatorVisitor.java&p1=incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotatorVisitor.java&r1=955874&r2=956030&rev=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/AnnotatorVisitor.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/AnnotatorVisitor.java
Fri Jun 18 15:54:11 2010
@@ -16,11 +16,8 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.bval.bench;
+package org.apache.bval.bench.metatree;
 
-import org.apache.bval.bench.metatree.JavaBeanBasicField;
-import org.apache.bval.bench.metatree.JavaBeanRefField;
-import org.apache.bval.bench.metatree.MetaJavaBean;
 
 
 /**

Copied: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/BasicType.java
(from r956027, incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/BasicType.java)
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/BasicType.java?p2=incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/BasicType.java&p1=incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/BasicType.java&r1=956027&r2=956030&rev=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/BasicType.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/BasicType.java
Fri Jun 18 15:54:11 2010
@@ -16,9 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.bval.bench;
+package org.apache.bval.bench.metatree;
 
 import java.util.Arrays;
+import org.apache.bval.bench.Config;
 
 
 /**

Modified: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanBasicField.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanBasicField.java?rev=956030&r1=956029&r2=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanBasicField.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanBasicField.java
Fri Jun 18 15:54:11 2010
@@ -19,9 +19,6 @@
 package org.apache.bval.bench.metatree;
 
 import java.util.List;
-import org.apache.bval.bench.Annotable;
-import org.apache.bval.bench.AnnotatorVisitor;
-import org.apache.bval.bench.BasicType;
 import org.apache.bval.bench.Util;
 import com.sun.codemodel.JAnnotationUse;
 import com.sun.codemodel.JDefinedClass;

Modified: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanRefField.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanRefField.java?rev=956030&r1=956029&r2=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanRefField.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/JavaBeanRefField.java
Fri Jun 18 15:54:11 2010
@@ -18,8 +18,6 @@
  */
 package org.apache.bval.bench.metatree;
 
-import org.apache.bval.bench.Annotable;
-import org.apache.bval.bench.AnnotatorVisitor;
 import org.apache.bval.bench.Util;
 import com.sun.codemodel.JAnnotationUse;
 import com.sun.codemodel.JBlock;

Modified: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaAnnotation.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaAnnotation.java?rev=956030&r1=956029&r2=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaAnnotation.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaAnnotation.java
Fri Jun 18 15:54:11 2010
@@ -21,7 +21,6 @@ package org.apache.bval.bench.metatree;
 import java.lang.annotation.Annotation;
 import java.util.HashMap;
 import java.util.Map;
-import org.apache.bval.bench.AnnotationType;
 import org.apache.bval.bench.jsr303.MetaGroup;
 import com.google.common.collect.Maps;
 import com.sun.codemodel.JClass;

Modified: incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaJavaBean.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaJavaBean.java?rev=956030&r1=956029&r2=956030&view=diff
==============================================================================
--- incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaJavaBean.java
(original)
+++ incubator/bval/sandbox/jsr303-impl-bench/src/main/java/org/apache/bval/bench/metatree/MetaJavaBean.java
Fri Jun 18 15:54:11 2010
@@ -24,9 +24,6 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import javax.validation.GroupSequence;
-import org.apache.bval.bench.Annotable;
-import org.apache.bval.bench.AnnotationType;
-import org.apache.bval.bench.AnnotatorVisitor;
 import org.apache.bval.bench.Config;
 import org.apache.bval.bench.Util;
 import org.apache.bval.bench.jsr303.MetaGroup;
@@ -144,6 +141,7 @@ public class MetaJavaBean extends Abstra
         }
     }
 
+    // FIXME: Keep a reference of the superclass to allow future use of it
     public void setSuperClass(MetaJavaBean random) {
         this.getGeneratedClass()._extends(random.getGeneratedClass());
     }



Mime
View raw message