Binary compatibility report for the dropwizard-validation library between 3.0.11 and 4.0.0 versions
Test Info
Library Name | dropwizard-validation |
Version #1 | 3.0.11 |
Version #2 | 4.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 79 / 20 |
Compatibility |
32.2% |
Problem Summary
| Severity | Count |
Added Methods | - | 20 |
Removed Methods | High | 20 |
Problems with Data Types | High | 8 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 2 |
Medium | 0 |
Low | 0 |
Added Methods 20
dropwizard-validation-4.0.0.jar, BaseValidator.class
package io.dropwizard.validation
BaseValidator.newValidator ( ) [static] : Validator
io/dropwizard/validation/BaseValidator.newValidator:()Ljakarta/validation/Validator;
dropwizard-validation-4.0.0.jar, ConstraintViolations.class
package io.dropwizard.validation
ConstraintViolations.format ( ConstraintViolation<T> v ) [static] : String
io/dropwizard/validation/ConstraintViolations.format:(Ljakarta/validation/ConstraintViolation;)Ljava/lang/String;
dropwizard-validation-4.0.0.jar, GuavaOptionalValueExtractor.class
package io.dropwizard.validation.valuehandling
GuavaOptionalValueExtractor.extractValues ( Object p1, ValueExtractor.ValueReceiver p2 ) : void
io/dropwizard/validation/valuehandling/GuavaOptionalValueExtractor.extractValues:(Ljava/lang/Object;Ljakarta/validation/valueextraction/ValueExtractor$ValueReceiver;)V
GuavaOptionalValueExtractor.extractValues ( Optional<?> originalValue, ValueExtractor.ValueReceiver receiver ) : void
io/dropwizard/validation/valuehandling/GuavaOptionalValueExtractor.extractValues:(Lcom/google/common/base/Optional;Ljakarta/validation/valueextraction/ValueExtractor$ValueReceiver;)V
dropwizard-validation-4.0.0.jar, MaxDataSizeValidator.class
package io.dropwizard.validation
MaxDataSizeValidator.isValid ( DataSize value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MaxDataSizeValidator.isValid:(Lio/dropwizard/util/DataSize;Ljakarta/validation/ConstraintValidatorContext;)Z
MaxDataSizeValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MaxDataSizeValidator.isValid:(Ljava/lang/Object;Ljakarta/validation/ConstraintValidatorContext;)Z
dropwizard-validation-4.0.0.jar, MaxDurationValidator.class
package io.dropwizard.validation
MaxDurationValidator.isValid ( Duration value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MaxDurationValidator.isValid:(Lio/dropwizard/util/Duration;Ljakarta/validation/ConstraintValidatorContext;)Z
MaxDurationValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MaxDurationValidator.isValid:(Ljava/lang/Object;Ljakarta/validation/ConstraintValidatorContext;)Z
dropwizard-validation-4.0.0.jar, MethodValidator.class
package io.dropwizard.validation
MethodValidator.isValid ( Boolean value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MethodValidator.isValid:(Ljava/lang/Boolean;Ljakarta/validation/ConstraintValidatorContext;)Z
MethodValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MethodValidator.isValid:(Ljava/lang/Object;Ljakarta/validation/ConstraintValidatorContext;)Z
dropwizard-validation-4.0.0.jar, MinDataSizeValidator.class
package io.dropwizard.validation
MinDataSizeValidator.isValid ( DataSize value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MinDataSizeValidator.isValid:(Lio/dropwizard/util/DataSize;Ljakarta/validation/ConstraintValidatorContext;)Z
MinDataSizeValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MinDataSizeValidator.isValid:(Ljava/lang/Object;Ljakarta/validation/ConstraintValidatorContext;)Z
dropwizard-validation-4.0.0.jar, MinDurationValidator.class
package io.dropwizard.validation
MinDurationValidator.isValid ( Duration value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MinDurationValidator.isValid:(Lio/dropwizard/util/Duration;Ljakarta/validation/ConstraintValidatorContext;)Z
MinDurationValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MinDurationValidator.isValid:(Ljava/lang/Object;Ljakarta/validation/ConstraintValidatorContext;)Z
dropwizard-validation-4.0.0.jar, OneOfValidator.class
package io.dropwizard.validation
OneOfValidator.isValid ( Object value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/OneOfValidator.isValid:(Ljava/lang/Object;Ljakarta/validation/ConstraintValidatorContext;)Z
dropwizard-validation-4.0.0.jar, PortRangeValidator.class
package io.dropwizard.validation
PortRangeValidator.isValid ( Integer value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/PortRangeValidator.isValid:(Ljava/lang/Integer;Ljakarta/validation/ConstraintValidatorContext;)Z
PortRangeValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/PortRangeValidator.isValid:(Ljava/lang/Object;Ljakarta/validation/ConstraintValidatorContext;)Z
dropwizard-validation-4.0.0.jar, SelfValidatingValidator.class
package io.dropwizard.validation.selfvalidating
SelfValidatingValidator.isValid ( Object value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/selfvalidating/SelfValidatingValidator.isValid:(Ljava/lang/Object;Ljakarta/validation/ConstraintValidatorContext;)Z
dropwizard-validation-4.0.0.jar, ViolationCollector.class
package io.dropwizard.validation.selfvalidating
ViolationCollector.getContext ( ) : ConstraintValidatorContext
io/dropwizard/validation/selfvalidating/ViolationCollector.getContext:()Ljakarta/validation/ConstraintValidatorContext;
ViolationCollector.ViolationCollector ( ConstraintValidatorContext constraintValidatorContext )
io/dropwizard/validation/selfvalidating/ViolationCollector."<init>":(Ljakarta/validation/ConstraintValidatorContext;)V
to the top
Removed Methods 20
dropwizard-validation-3.0.11.jar, BaseValidator.class
package io.dropwizard.validation
BaseValidator.newValidator ( ) [static] : Validator
io/dropwizard/validation/BaseValidator.newValidator:()Ljavax/validation/Validator;
dropwizard-validation-3.0.11.jar, ConstraintViolations.class
package io.dropwizard.validation
ConstraintViolations.format ( ConstraintViolation<T> v ) [static] : String
io/dropwizard/validation/ConstraintViolations.format:(Ljavax/validation/ConstraintViolation;)Ljava/lang/String;
dropwizard-validation-3.0.11.jar, GuavaOptionalValueExtractor.class
package io.dropwizard.validation.valuehandling
GuavaOptionalValueExtractor.extractValues ( Object p1, ValueExtractor.ValueReceiver p2 ) : void
io/dropwizard/validation/valuehandling/GuavaOptionalValueExtractor.extractValues:(Ljava/lang/Object;Ljavax/validation/valueextraction/ValueExtractor$ValueReceiver;)V
GuavaOptionalValueExtractor.extractValues ( Optional<?> originalValue, ValueExtractor.ValueReceiver receiver ) : void
io/dropwizard/validation/valuehandling/GuavaOptionalValueExtractor.extractValues:(Lcom/google/common/base/Optional;Ljavax/validation/valueextraction/ValueExtractor$ValueReceiver;)V
dropwizard-validation-3.0.11.jar, MaxDataSizeValidator.class
package io.dropwizard.validation
MaxDataSizeValidator.isValid ( DataSize value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MaxDataSizeValidator.isValid:(Lio/dropwizard/util/DataSize;Ljavax/validation/ConstraintValidatorContext;)Z
MaxDataSizeValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MaxDataSizeValidator.isValid:(Ljava/lang/Object;Ljavax/validation/ConstraintValidatorContext;)Z
dropwizard-validation-3.0.11.jar, MaxDurationValidator.class
package io.dropwizard.validation
MaxDurationValidator.isValid ( Duration value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MaxDurationValidator.isValid:(Lio/dropwizard/util/Duration;Ljavax/validation/ConstraintValidatorContext;)Z
MaxDurationValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MaxDurationValidator.isValid:(Ljava/lang/Object;Ljavax/validation/ConstraintValidatorContext;)Z
dropwizard-validation-3.0.11.jar, MethodValidator.class
package io.dropwizard.validation
MethodValidator.isValid ( Boolean value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MethodValidator.isValid:(Ljava/lang/Boolean;Ljavax/validation/ConstraintValidatorContext;)Z
MethodValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MethodValidator.isValid:(Ljava/lang/Object;Ljavax/validation/ConstraintValidatorContext;)Z
dropwizard-validation-3.0.11.jar, MinDataSizeValidator.class
package io.dropwizard.validation
MinDataSizeValidator.isValid ( DataSize value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MinDataSizeValidator.isValid:(Lio/dropwizard/util/DataSize;Ljavax/validation/ConstraintValidatorContext;)Z
MinDataSizeValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MinDataSizeValidator.isValid:(Ljava/lang/Object;Ljavax/validation/ConstraintValidatorContext;)Z
dropwizard-validation-3.0.11.jar, MinDurationValidator.class
package io.dropwizard.validation
MinDurationValidator.isValid ( Duration value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/MinDurationValidator.isValid:(Lio/dropwizard/util/Duration;Ljavax/validation/ConstraintValidatorContext;)Z
MinDurationValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/MinDurationValidator.isValid:(Ljava/lang/Object;Ljavax/validation/ConstraintValidatorContext;)Z
dropwizard-validation-3.0.11.jar, OneOfValidator.class
package io.dropwizard.validation
OneOfValidator.isValid ( Object value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/OneOfValidator.isValid:(Ljava/lang/Object;Ljavax/validation/ConstraintValidatorContext;)Z
dropwizard-validation-3.0.11.jar, PortRangeValidator.class
package io.dropwizard.validation
PortRangeValidator.isValid ( Integer value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/PortRangeValidator.isValid:(Ljava/lang/Integer;Ljavax/validation/ConstraintValidatorContext;)Z
PortRangeValidator.isValid ( Object p1, ConstraintValidatorContext p2 ) : boolean
io/dropwizard/validation/PortRangeValidator.isValid:(Ljava/lang/Object;Ljavax/validation/ConstraintValidatorContext;)Z
dropwizard-validation-3.0.11.jar, SelfValidatingValidator.class
package io.dropwizard.validation.selfvalidating
SelfValidatingValidator.isValid ( Object value, ConstraintValidatorContext context ) : boolean
io/dropwizard/validation/selfvalidating/SelfValidatingValidator.isValid:(Ljava/lang/Object;Ljavax/validation/ConstraintValidatorContext;)Z
dropwizard-validation-3.0.11.jar, ViolationCollector.class
package io.dropwizard.validation.selfvalidating
ViolationCollector.getContext ( ) : ConstraintValidatorContext
io/dropwizard/validation/selfvalidating/ViolationCollector.getContext:()Ljavax/validation/ConstraintValidatorContext;
ViolationCollector.ViolationCollector ( ConstraintValidatorContext constraintValidatorContext )
io/dropwizard/validation/selfvalidating/ViolationCollector."<init>":(Ljavax/validation/ConstraintValidatorContext;)V
to the top
Problems with Data Types, High Severity 8
dropwizard-validation-3.0.11.jar
package io.dropwizard.validation
[+] class MaxDataSizeValidator 1
| Change | Effect |
---|
1 |
Removed super-interface javax.validation.ConstraintValidator<MaxDataSize,io.dropwizard.util.DataSize>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 3 (3.8%)
MaxDataSizeValidator.MaxDataSizeValidator ( )This constructor is from 'MaxDataSizeValidator' class.
MaxDataSizeValidator.initialize ( MaxDataSize constraintAnnotation )This method is from 'MaxDataSizeValidator' class.
MaxDataSizeValidator.initialize ( Annotation p1 )This method is from 'MaxDataSizeValidator' class.
[+] class MaxDurationValidator 1
| Change | Effect |
---|
1 |
Removed super-interface javax.validation.ConstraintValidator<MaxDuration,io.dropwizard.util.Duration>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 3 (3.8%)
MaxDurationValidator.MaxDurationValidator ( )This constructor is from 'MaxDurationValidator' class.
MaxDurationValidator.initialize ( MaxDuration constraintAnnotation )This method is from 'MaxDurationValidator' class.
MaxDurationValidator.initialize ( Annotation p1 )This method is from 'MaxDurationValidator' class.
[+] class MethodValidator 1
| Change | Effect |
---|
1 |
Removed super-interface javax.validation.ConstraintValidator<ValidationMethod,java.lang.Boolean>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 1 (1.3%)
MethodValidator.MethodValidator ( )This constructor is from 'MethodValidator' class.
[+] class MinDataSizeValidator 1
| Change | Effect |
---|
1 |
Removed super-interface javax.validation.ConstraintValidator<MinDataSize,io.dropwizard.util.DataSize>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 3 (3.8%)
MinDataSizeValidator.MinDataSizeValidator ( )This constructor is from 'MinDataSizeValidator' class.
MinDataSizeValidator.initialize ( MinDataSize constraintAnnotation )This method is from 'MinDataSizeValidator' class.
MinDataSizeValidator.initialize ( Annotation p1 )This method is from 'MinDataSizeValidator' class.
[+] class MinDurationValidator 1
| Change | Effect |
---|
1 |
Removed super-interface javax.validation.ConstraintValidator<MinDuration,io.dropwizard.util.Duration>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 3 (3.8%)
MinDurationValidator.MinDurationValidator ( )This constructor is from 'MinDurationValidator' class.
MinDurationValidator.initialize ( MinDuration constraintAnnotation )This method is from 'MinDurationValidator' class.
MinDurationValidator.initialize ( Annotation p1 )This method is from 'MinDurationValidator' class.
[+] class OneOfValidator 1
| Change | Effect |
---|
1 |
Removed super-interface javax.validation.ConstraintValidator<OneOf,java.lang.Object>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 3 (3.8%)
OneOfValidator.OneOfValidator ( )This constructor is from 'OneOfValidator' class.
OneOfValidator.initialize ( OneOf constraintAnnotation )This method is from 'OneOfValidator' class.
OneOfValidator.initialize ( Annotation p1 )This method is from 'OneOfValidator' class.
[+] class PortRangeValidator 1
| Change | Effect |
---|
1 |
Removed super-interface javax.validation.ConstraintValidator<PortRange,java.lang.Integer>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 3 (3.8%)
PortRangeValidator.PortRangeValidator ( )This constructor is from 'PortRangeValidator' class.
PortRangeValidator.initialize ( PortRange constraintAnnotation )This method is from 'PortRangeValidator' class.
PortRangeValidator.initialize ( Annotation p1 )This method is from 'PortRangeValidator' class.
dropwizard-validation-3.0.11.jar
package io.dropwizard.validation.selfvalidating
[+] class SelfValidatingValidator 1
| Change | Effect |
---|
1 |
Removed super-interface javax.validation.ConstraintValidator<SelfValidating,java.lang.Object>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 1 (1.3%)
SelfValidatingValidator.SelfValidatingValidator ( )This constructor is from 'SelfValidatingValidator' class.
to the top
Problems with Methods, High Severity 2
dropwizard-validation-3.0.11.jar, BaseValidator.class
package io.dropwizard.validation
[+] BaseValidator.newValidator ( ) [static] : Validator 1
io/dropwizard/validation/BaseValidator.newValidator:()Ljavax/validation/Validator;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.validation.Validator to jakarta.validation.Validator. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
dropwizard-validation-3.0.11.jar, ViolationCollector.class
package io.dropwizard.validation.selfvalidating
[+] ViolationCollector.getContext ( ) : ConstraintValidatorContext 1
io/dropwizard/validation/selfvalidating/ViolationCollector.getContext:()Ljavax/validation/ConstraintValidatorContext;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.validation.ConstraintValidatorContext to jakarta.validation.ConstraintValidatorContext. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
to the top
Java Archives 1
dropwizard-validation-3.0.11.jar
to the top