diff --git a/fluent-validator-demo/pom.xml b/fluent-validator-demo/pom.xml index 94f38ff..4730ca6 100644 --- a/fluent-validator-demo/pom.xml +++ b/fluent-validator-demo/pom.xml @@ -7,12 +7,12 @@ com.baidu.unbiz fluent-validator-parent ../pom.xml - 1.0.8 + 1.0.9 com.baidu.unbiz fluent-validator-demo - 1.0.8 + 1.0.9 jar fluent-validator-demo A simple Java validation framework leveraging fluent interface style and JSR 303 specification @@ -22,7 +22,7 @@ com.baidu.unbiz fluent-validator-spring - 1.0.8 + 1.0.9 diff --git a/fluent-validator-jsr303/pom.xml b/fluent-validator-jsr303/pom.xml index a8c7eea..9aea6cd 100644 --- a/fluent-validator-jsr303/pom.xml +++ b/fluent-validator-jsr303/pom.xml @@ -6,12 +6,12 @@ com.baidu.unbiz fluent-validator-parent ../pom.xml - 1.0.8 + 1.0.9 com.baidu.unbiz fluent-validator-jsr303 - 1.0.8 + 1.0.9 jar fluent-validator-jsr303 A simple Java validation framework leveraging fluent interface style and JSR 303 specification @@ -21,7 +21,7 @@ com.baidu.unbiz fluent-validator - 1.0.8 + 1.0.9 diff --git a/fluent-validator-spring/pom.xml b/fluent-validator-spring/pom.xml index 06d421d..d8c556d 100644 --- a/fluent-validator-spring/pom.xml +++ b/fluent-validator-spring/pom.xml @@ -6,12 +6,12 @@ com.baidu.unbiz fluent-validator-parent ../pom.xml - 1.0.8 + 1.0.9 com.baidu.unbiz fluent-validator-spring - 1.0.8 + 1.0.9 jar fluent-validator-spring A simple Java validation framework leveraging fluent interface style and JSR 303 specification @@ -21,13 +21,13 @@ com.baidu.unbiz fluent-validator - 1.0.8 + 1.0.9 com.baidu.unbiz fluent-validator-jsr303 - 1.0.8 + 1.0.9 diff --git a/fluent-validator/pom.xml b/fluent-validator/pom.xml index 44e3e80..44f220c 100644 --- a/fluent-validator/pom.xml +++ b/fluent-validator/pom.xml @@ -6,12 +6,12 @@ com.baidu.unbiz fluent-validator-parent ../pom.xml - 1.0.8 + 1.0.9 com.baidu.unbiz fluent-validator - 1.0.8 + 1.0.9 jar fluent-validator A simple Java validation framework leveraging fluent interface style and JSR 303 specification diff --git a/fluent-validator/src/main/java/com/baidu/unbiz/fluentvalidator/AnnotationValidatorCache.java b/fluent-validator/src/main/java/com/baidu/unbiz/fluentvalidator/AnnotationValidatorCache.java index d07ed90..1e09cf4 100644 --- a/fluent-validator/src/main/java/com/baidu/unbiz/fluentvalidator/AnnotationValidatorCache.java +++ b/fluent-validator/src/main/java/com/baidu/unbiz/fluentvalidator/AnnotationValidatorCache.java @@ -80,7 +80,7 @@ private static void addByClass(Registry registry, Class clazz) { List annotationValidators = getAllAnnotationValidators(registry, clazz); if (CollectionUtil.isEmpty(annotationValidators)) { - LOGGER.warn(String.format("Annotation-based validation enabled for %s, and to-do validators are empty", + LOGGER.debug(String.format("Annotation-based validation enabled for %s, and to-do validators are empty", clazz.getSimpleName())); } else { CLASS_2_ANNOTATION_VALIDATOR_MAP.putIfAbsent(clazz, annotationValidators); @@ -112,7 +112,7 @@ private static List getAllAnnotationValidators(Registry reg Class[] validatorClasses = fluentValidateAnnt.value(); Class[] groups = fluentValidateAnnt.groups(); if (validatorClasses == null || validatorClasses.length == 0) { - LOGGER.warn(String.format("No validator annotation bound %s#%s", clazz.getSimpleName(), + LOGGER.debug(String.format("No validator annotation bound %s#%s", clazz.getSimpleName(), field.getName())); continue; } @@ -144,7 +144,7 @@ private static List getAllAnnotationValidators(Registry reg } if (CollectionUtil.isEmpty(validators)) { - LOGGER.warn(String.format("Annotation-based validation enabled but none of the validators is " + LOGGER.debug(String.format("Annotation-based validation enabled but none of the validators is " + "applicable for %s#%s", clazz.getSimpleName(), field.getName())); continue; } diff --git a/pom.xml b/pom.xml index 8cbcdca..fd0af09 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.baidu.unbiz fluent-validator-parent - 1.0.8 + 1.0.9 fluent-validator-parent pom A simple Java validation framework leveraging fluent interface style and JSR 303 specification