@@ -80,7 +80,7 @@ private static void addByClass(Registry registry, Class<?> clazz) {
8080 List <AnnotationValidator > annotationValidators = getAllAnnotationValidators (registry , clazz );
8181
8282 if (CollectionUtil .isEmpty (annotationValidators )) {
83- LOGGER .warn (String .format ("Annotation-based validation enabled for %s, and to-do validators are empty" ,
83+ LOGGER .debug (String .format ("Annotation-based validation enabled for %s, and to-do validators are empty" ,
8484 clazz .getSimpleName ()));
8585 } else {
8686 CLASS_2_ANNOTATION_VALIDATOR_MAP .putIfAbsent (clazz , annotationValidators );
@@ -112,7 +112,7 @@ private static List<AnnotationValidator> getAllAnnotationValidators(Registry reg
112112 Class <? extends Validator >[] validatorClasses = fluentValidateAnnt .value ();
113113 Class <?>[] groups = fluentValidateAnnt .groups ();
114114 if (validatorClasses == null || validatorClasses .length == 0 ) {
115- LOGGER .warn (String .format ("No validator annotation bound %s#%s" , clazz .getSimpleName (),
115+ LOGGER .debug (String .format ("No validator annotation bound %s#%s" , clazz .getSimpleName (),
116116 field .getName ()));
117117 continue ;
118118 }
@@ -144,7 +144,7 @@ private static List<AnnotationValidator> getAllAnnotationValidators(Registry reg
144144 }
145145
146146 if (CollectionUtil .isEmpty (validators )) {
147- LOGGER .warn (String .format ("Annotation-based validation enabled but none of the validators is "
147+ LOGGER .debug (String .format ("Annotation-based validation enabled but none of the validators is "
148148 + "applicable for %s#%s" , clazz .getSimpleName (), field .getName ()));
149149 continue ;
150150 }
0 commit comments