incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romanst...@apache.org
Subject svn commit: r947023 - in /incubator/bval/trunk: ./ bval-core/src/main/java/org/apache/bval/xml/ bval-jsr303/src/main/java/org/apache/bval/jsr303/ bval-jsr303/src/test/java/org/apache/bval/jsr303/
Date Fri, 21 May 2010 14:32:30 GMT
Author: romanstumm
Date: Fri May 21 14:32:30 2010
New Revision: 947023

URL: http://svn.apache.org/viewvc?rev=947023&view=rev
Log:
only javadoc fixed (renamed from Agimatec to Apache)

Modified:
    incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java
    incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidationProvider.java
    incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidatorConfiguration.java
    incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConfigurationImpl.java
    incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConstraintValidation.java
    incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/BootstrapTest.java
    incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/Jsr303Test.java
    incubator/bval/trunk/pom.xml

Modified: incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java?rev=947023&r1=947022&r2=947023&view=diff
==============================================================================
--- incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java
(original)
+++ incubator/bval/trunk/bval-core/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java
Fri May 21 14:32:30 2010
@@ -30,7 +30,7 @@ import java.util.*;
 import static org.apache.bval.model.Features.Property.JAVASCRIPT_VALIDATION_FUNCTIONS;
 
 /**
- * Description: Create or enrich MetaBeans from agimatec beanInfos xml<br/>
+ * Description: Create or enrich MetaBeans from apache beanInfos xml<br/>
  */
 public class XMLMetaBeanFactory implements MetaBeanFactory {
     private static final Log log = LogFactory.getLog(XMLMetaBeanFactory.class);

Modified: incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidationProvider.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidationProvider.java?rev=947023&r1=947022&r2=947023&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidationProvider.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidationProvider.java
Fri May 21 14:32:30 2010
@@ -26,7 +26,7 @@ import javax.validation.spi.ValidationPr
 
 /**
  * Description: Implementation of {@link ValidationProvider} for jsr303 implementation of
- * the agimatec-validation framework.
+ * the apache-validation framework.
  * <p/>
  * <br/>
  * User: roman.stumm <br/>

Modified: incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidatorConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidatorConfiguration.java?rev=947023&r1=947022&r2=947023&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidatorConfiguration.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheValidatorConfiguration.java
Fri May 21 14:32:30 2010
@@ -21,8 +21,8 @@ package org.apache.bval.jsr303;
 import javax.validation.Configuration;
 
 /**
- * Description: Uniquely identify Agimatec Validation in the Bean Validation bootstrap
- * strategy. Also contains agimatec validation specific configurations<br/>
+ * Description: Uniquely identify apache Validation in the Bean Validation bootstrap
+ * strategy. Also contains apache validation specific configurations<br/>
  */
 public interface ApacheValidatorConfiguration
       extends Configuration<ApacheValidatorConfiguration> {
@@ -48,7 +48,7 @@ public interface ApacheValidatorConfigur
         String ENABLE_INTROSPECTOR = "apache.bval.enable-introspector";
 
         /**
-         * true/false. use agimatec metaBeans xml format additionally to
+         * true/false. use apache metaBeans xml format additionally to
          * build metadata with JSR303.
          * default: false
          */

Modified: incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConfigurationImpl.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConfigurationImpl.java?rev=947023&r1=947022&r2=947023&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConfigurationImpl.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConfigurationImpl.java
Fri May 21 14:32:30 2010
@@ -32,7 +32,7 @@ import java.io.InputStream;
 import java.util.*;
 
 /**
- * Description: used to configure agimatec-validation for jsr303.
+ * Description: used to configure apache-validation for jsr303.
  * Implementation of Configuration that also implements ConfigurationState,
  * hence this can be passed to buildValidatorFactory(ConfigurationState).
  * <br/>

Modified: incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConstraintValidation.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConstraintValidation.java?rev=947023&r1=947022&r2=947023&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConstraintValidation.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ConstraintValidation.java
Fri May 21 14:32:30 2010
@@ -36,7 +36,7 @@ import java.lang.annotation.Annotation;
 import java.util.*;
 
 /**
- * Description: Adapter between Constraint (JSR303) and Validation (Agimatec)<br/>
+ * Description: Adapter between Constraint (JSR303) and Validation (Core)<br/>
  * this instance is immutable!<br/>
  */
 public class ConstraintValidation<T extends Annotation>

Modified: incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/BootstrapTest.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/BootstrapTest.java?rev=947023&r1=947022&r2=947023&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/BootstrapTest.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/BootstrapTest.java
Fri May 21 14:32:30 2010
@@ -18,30 +18,19 @@
  */
 package org.apache.bval.jsr303;
 
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Locale;
-import java.util.Set;
-
-import javax.validation.Configuration;
-import javax.validation.ConstraintValidator;
-import javax.validation.ConstraintValidatorContext;
-import javax.validation.ConstraintValidatorFactory;
-import javax.validation.ConstraintViolation;
-import javax.validation.Validation;
-import javax.validation.ValidationException;
-import javax.validation.ValidationProviderResolver;
-import javax.validation.Validator;
-import javax.validation.ValidatorFactory;
-import javax.validation.bootstrap.ProviderSpecificBootstrap;
-import javax.validation.spi.ValidationProvider;
-
 import junit.framework.Assert;
 import junit.framework.TestCase;
-
 import org.apache.bval.constraints.NotNullValidator;
 import org.apache.bval.jsr303.example.Customer;
 
+import javax.validation.*;
+import javax.validation.bootstrap.ProviderSpecificBootstrap;
+import javax.validation.spi.ValidationProvider;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Locale;
+import java.util.Set;
+
 /**
  * Description: <br/>
  */
@@ -77,7 +66,7 @@ public class BootstrapTest extends TestC
 
         // ALTERNATIVE:
         // you could do it without modifying the builder or reusing it,
-        // but then you need to use Agimatec proprietary APIs:
+        // but then you need to use bval-core proprietary APIs:
         ((DefaultMessageInterpolator) factory.getMessageInterpolator()).setLocale(Locale.ENGLISH);
         // now factory's message resolver is using the english locale
     }

Modified: incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/Jsr303Test.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/Jsr303Test.java?rev=947023&r1=947022&r2=947023&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/Jsr303Test.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/test/java/org/apache/bval/jsr303/Jsr303Test.java
Fri May 21 14:32:30 2010
@@ -18,33 +18,24 @@
  */
 package org.apache.bval.jsr303;
 
-import java.math.BigDecimal;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Set;
+import junit.framework.Assert;
+import junit.framework.TestCase;
+import org.apache.bval.constraints.SizeValidatorForString;
+import org.apache.bval.jsr303.example.*;
+import org.apache.bval.jsr303.util.TestUtils;
 
 import javax.validation.ConstraintViolation;
 import javax.validation.UnexpectedTypeException;
-import javax.validation.ValidationException;
 import javax.validation.Validator;
 import javax.validation.metadata.BeanDescriptor;
 import javax.validation.metadata.ConstraintDescriptor;
 import javax.validation.metadata.ElementDescriptor;
 import javax.validation.metadata.PropertyDescriptor;
-
-import junit.framework.Assert;
-import junit.framework.TestCase;
-
-import org.apache.bval.constraints.SizeValidatorForString;
-import org.apache.bval.jsr303.example.Address;
-import org.apache.bval.jsr303.example.Book;
-import org.apache.bval.jsr303.example.Engine;
-import org.apache.bval.jsr303.example.MaxTestEntity;
-import org.apache.bval.jsr303.example.NoValidatorTestEntity;
-import org.apache.bval.jsr303.example.Second;
-import org.apache.bval.jsr303.example.SizeTestEntity;
-import org.apache.bval.jsr303.util.TestUtils;
+import java.math.BigDecimal;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Set;
 
 /**
  * Description: <br/>
@@ -52,10 +43,10 @@ import org.apache.bval.jsr303.util.TestU
 public class Jsr303Test extends TestCase {
 /*    static {
         ApacheValidatorFactory.getDefault().getMetaBeanManager()
-                .addResourceLoader("com/agimatec/validation/example/test-beanInfos.xml");
+                .addResourceLoader("org/apache/bval/example/test-beanInfos.xml");
     }*/
 
-    /*  public void testUseAgimatecXmlMetaData() {
+    /*  public void testUseCoreXmlMetaData() {
         Validator validator = getValidator();
 
         BusinessObject object = new BusinessObject();

Modified: incubator/bval/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/pom.xml?rev=947023&r1=947022&r2=947023&view=diff
==============================================================================
--- incubator/bval/trunk/pom.xml (original)
+++ incubator/bval/trunk/pom.xml Fri May 21 14:32:30 2010
@@ -667,7 +667,7 @@
                                         ${javadoc.additionalparam}
                   </additionalparam>
                                     <aggregate>true</aggregate>
-                                    <subpackages>com.agimatec</subpackages>
+                                    <subpackages>org.apache</subpackages>
                                     <verbose>false</verbose>
                                     <maxmemory>512m</maxmemory>
                                     <links>



Mime
View raw message