Source compatibility report for the dropwizard-validation library between 1.3.29 and 2.0.0 versions
Test Info
Library Name | dropwizard-validation |
Version #1 | 1.3.29 |
Version #2 | 2.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 93 / 28 |
Compatibility |
63.5% |
Problem Summary
| Severity | Count |
Added Methods | - | 15 |
Removed Methods | High | 28 |
Problems with Data Types | High | 5 |
Medium | 2 |
Low | 0 |
Problems with Methods | High | 0 |
Medium | 3 |
Low | 0 |
Added Methods 15
dropwizard-validation-2.0.0.jar, ConstraintViolations.class
package io.dropwizard.validation
ConstraintViolations.copyOf ( Set<ConstraintViolation<T>> violations ) [static] : Set<ConstraintViolation<?>>
io/dropwizard/validation/ConstraintViolations.copyOf:(Ljava/util/Set;)Ljava/util/Set;
ConstraintViolations.format ( Set<ConstraintViolation<T>> violations ) [static] : Collection<String>
io/dropwizard/validation/ConstraintViolations.format:(Ljava/util/Set;)Ljava/util/Collection;
ConstraintViolations.formatUntyped ( Set<ConstraintViolation<?>> violations ) [static] : Collection<String>
io/dropwizard/validation/ConstraintViolations.formatUntyped:(Ljava/util/Set;)Ljava/util/Collection;
dropwizard-validation-2.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;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-2.0.0.jar, MaxDataSizeValidator.class
package io.dropwizard.validation
MaxDataSizeValidator.initialize ( Annotation p1 ) : void
io/dropwizard/validation/MaxDataSizeValidator.initialize:(Ljava/lang/annotation/Annotation;)V
MaxDataSizeValidator.initialize ( MaxDataSize constraintAnnotation ) : void
io/dropwizard/validation/MaxDataSizeValidator.initialize:(Lio/dropwizard/validation/MaxDataSize;)V
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
MaxDataSizeValidator.MaxDataSizeValidator ( )
io/dropwizard/validation/MaxDataSizeValidator."<init>":()V
dropwizard-validation-2.0.0.jar, MinDataSizeValidator.class
package io.dropwizard.validation
MinDataSizeValidator.initialize ( Annotation p1 ) : void
io/dropwizard/validation/MinDataSizeValidator.initialize:(Ljava/lang/annotation/Annotation;)V
MinDataSizeValidator.initialize ( MinDataSize constraintAnnotation ) : void
io/dropwizard/validation/MinDataSizeValidator.initialize:(Lio/dropwizard/validation/MinDataSize;)V
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
MinDataSizeValidator.MinDataSizeValidator ( )
io/dropwizard/validation/MinDataSizeValidator."<init>":()V
to the top
Removed Methods 28
dropwizard-validation-1.3.29.jar, ConstraintViolations.class
package io.dropwizard.validation
ConstraintViolations.copyOf ( Set<ConstraintViolation<T>> violations ) [static] : ImmutableSet<ConstraintViolation<?>>
io/dropwizard/validation/ConstraintViolations.copyOf:(Ljava/util/Set;)Lcom/google/common/collect/ImmutableSet;
ConstraintViolations.format ( Set<ConstraintViolation<T>> violations ) [static] : ImmutableList<String>
io/dropwizard/validation/ConstraintViolations.format:(Ljava/util/Set;)Lcom/google/common/collect/ImmutableList;
ConstraintViolations.formatUntyped ( Set<ConstraintViolation<?>> violations ) [static] : ImmutableList<String>
io/dropwizard/validation/ConstraintViolations.formatUntyped:(Ljava/util/Set;)Lcom/google/common/collect/ImmutableList;
dropwizard-validation-1.3.29.jar, GuavaOptionalValidatedValueUnwrapper.class
package io.dropwizard.validation.valuehandling
GuavaOptionalValidatedValueUnwrapper.getValidatedValueType ( Type type ) : Type
io/dropwizard/validation/valuehandling/GuavaOptionalValidatedValueUnwrapper.getValidatedValueType:(Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
GuavaOptionalValidatedValueUnwrapper.GuavaOptionalValidatedValueUnwrapper ( )
io/dropwizard/validation/valuehandling/GuavaOptionalValidatedValueUnwrapper."<init>":()V
GuavaOptionalValidatedValueUnwrapper.handleValidatedValue ( Object p1 ) : Object
io/dropwizard/validation/valuehandling/GuavaOptionalValidatedValueUnwrapper.handleValidatedValue:(Ljava/lang/Object;)Ljava/lang/Object;
GuavaOptionalValidatedValueUnwrapper.handleValidatedValue ( Optional<?> optional ) : Object
io/dropwizard/validation/valuehandling/GuavaOptionalValidatedValueUnwrapper.handleValidatedValue:(Lcom/google/common/base/Optional;)Ljava/lang/Object;
dropwizard-validation-1.3.29.jar, InterpolationHelper.class
package io.dropwizard.validation
InterpolationHelper.escapeMessageParameter ( String messageParameter ) [static] : String
io/dropwizard/validation/InterpolationHelper.escapeMessageParameter:(Ljava/lang/String;)Ljava/lang/String;
dropwizard-validation-1.3.29.jar, OptionalDoubleValidatedValueUnwrapper.class
package io.dropwizard.validation.valuehandling
OptionalDoubleValidatedValueUnwrapper.getValidatedValueType ( Type type ) : Type
io/dropwizard/validation/valuehandling/OptionalDoubleValidatedValueUnwrapper.getValidatedValueType:(Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
OptionalDoubleValidatedValueUnwrapper.handleValidatedValue ( Object p1 ) : Object
io/dropwizard/validation/valuehandling/OptionalDoubleValidatedValueUnwrapper.handleValidatedValue:(Ljava/lang/Object;)Ljava/lang/Object;
OptionalDoubleValidatedValueUnwrapper.handleValidatedValue ( OptionalDouble optional ) : Object
io/dropwizard/validation/valuehandling/OptionalDoubleValidatedValueUnwrapper.handleValidatedValue:(Ljava/util/OptionalDouble;)Ljava/lang/Object;
OptionalDoubleValidatedValueUnwrapper.OptionalDoubleValidatedValueUnwrapper ( )
io/dropwizard/validation/valuehandling/OptionalDoubleValidatedValueUnwrapper."<init>":()V
dropwizard-validation-1.3.29.jar, OptionalIntValidatedValueUnwrapper.class
package io.dropwizard.validation.valuehandling
OptionalIntValidatedValueUnwrapper.getValidatedValueType ( Type type ) : Type
io/dropwizard/validation/valuehandling/OptionalIntValidatedValueUnwrapper.getValidatedValueType:(Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
OptionalIntValidatedValueUnwrapper.handleValidatedValue ( Object p1 ) : Object
io/dropwizard/validation/valuehandling/OptionalIntValidatedValueUnwrapper.handleValidatedValue:(Ljava/lang/Object;)Ljava/lang/Object;
OptionalIntValidatedValueUnwrapper.handleValidatedValue ( OptionalInt optional ) : Object
io/dropwizard/validation/valuehandling/OptionalIntValidatedValueUnwrapper.handleValidatedValue:(Ljava/util/OptionalInt;)Ljava/lang/Object;
OptionalIntValidatedValueUnwrapper.OptionalIntValidatedValueUnwrapper ( )
io/dropwizard/validation/valuehandling/OptionalIntValidatedValueUnwrapper."<init>":()V
dropwizard-validation-1.3.29.jar, OptionalLongValidatedValueUnwrapper.class
package io.dropwizard.validation.valuehandling
OptionalLongValidatedValueUnwrapper.getValidatedValueType ( Type type ) : Type
io/dropwizard/validation/valuehandling/OptionalLongValidatedValueUnwrapper.getValidatedValueType:(Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
OptionalLongValidatedValueUnwrapper.handleValidatedValue ( Object p1 ) : Object
io/dropwizard/validation/valuehandling/OptionalLongValidatedValueUnwrapper.handleValidatedValue:(Ljava/lang/Object;)Ljava/lang/Object;
OptionalLongValidatedValueUnwrapper.handleValidatedValue ( OptionalLong optional ) : Object
io/dropwizard/validation/valuehandling/OptionalLongValidatedValueUnwrapper.handleValidatedValue:(Ljava/util/OptionalLong;)Ljava/lang/Object;
OptionalLongValidatedValueUnwrapper.OptionalLongValidatedValueUnwrapper ( )
io/dropwizard/validation/valuehandling/OptionalLongValidatedValueUnwrapper."<init>":()V
dropwizard-validation-1.3.29.jar, ViolationCollector.class
package io.dropwizard.validation.selfvalidating
ViolationCollector.addViolation ( String message, Map<String,Object> messageParameters ) : void
io/dropwizard/validation/selfvalidating/ViolationCollector.addViolation:(Ljava/lang/String;Ljava/util/Map;)V
ViolationCollector.addViolation ( String propertyName, Integer index, String message ) : void
io/dropwizard/validation/selfvalidating/ViolationCollector.addViolation:(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;)V
ViolationCollector.addViolation ( String propertyName, Integer index, String message, Map<String,Object> messageParameters ) : void
io/dropwizard/validation/selfvalidating/ViolationCollector.addViolation:(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/Map;)V
ViolationCollector.addViolation ( String propertyName, String key, String message ) : void
io/dropwizard/validation/selfvalidating/ViolationCollector.addViolation:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
ViolationCollector.addViolation ( String propertyName, String key, String message, Map<String,Object> messageParameters ) : void
io/dropwizard/validation/selfvalidating/ViolationCollector.addViolation:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
ViolationCollector.addViolation ( String propertyName, String message ) : void
io/dropwizard/validation/selfvalidating/ViolationCollector.addViolation:(Ljava/lang/String;Ljava/lang/String;)V
ViolationCollector.addViolation ( String propertyName, String message, Map<String,Object> messageParameters ) : void
io/dropwizard/validation/selfvalidating/ViolationCollector.addViolation:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
ViolationCollector.ViolationCollector ( ConstraintValidatorContext constraintValidatorContext, boolean escapeExpressions )
io/dropwizard/validation/selfvalidating/ViolationCollector."<init>":(Ljavax/validation/ConstraintValidatorContext;Z)V
to the top
Problems with Data Types, High Severity 5
dropwizard-validation-1.3.29.jar
package io.dropwizard.validation
[+] class InterpolationHelper 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class InterpolationHelper. |
[+] affected methods: 1 (1.1%)
InterpolationHelper.escapeMessageParameter ( String messageParameter )This method is from 'InterpolationHelper' class.
dropwizard-validation-1.3.29.jar
package io.dropwizard.validation.valuehandling
[+] class GuavaOptionalValidatedValueUnwrapper 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class GuavaOptionalValidatedValueUnwrapper. |
[+] affected methods: 4 (4.3%)
GuavaOptionalValidatedValueUnwrapper.GuavaOptionalValidatedValueUnwrapper ( )This constructor is from 'GuavaOptionalValidatedValueUnwrapper' class.
GuavaOptionalValidatedValueUnwrapper.getValidatedValueType ( Type type )This method is from 'GuavaOptionalValidatedValueUnwrapper' class.
GuavaOptionalValidatedValueUnwrapper.handleValidatedValue ( Optional<?> optional )This method is from 'GuavaOptionalValidatedValueUnwrapper' class.
GuavaOptionalValidatedValueUnwrapper.handleValidatedValue ( Object p1 )This method is from 'GuavaOptionalValidatedValueUnwrapper' class.
[+] class OptionalDoubleValidatedValueUnwrapper 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class OptionalDoubleValidatedValueUnwrapper. |
[+] affected methods: 4 (4.3%)
OptionalDoubleValidatedValueUnwrapper.OptionalDoubleValidatedValueUnwrapper ( )This constructor is from 'OptionalDoubleValidatedValueUnwrapper' class.
OptionalDoubleValidatedValueUnwrapper.getValidatedValueType ( Type type )This method is from 'OptionalDoubleValidatedValueUnwrapper' class.
OptionalDoubleValidatedValueUnwrapper.handleValidatedValue ( Object p1 )This method is from 'OptionalDoubleValidatedValueUnwrapper' class.
OptionalDoubleValidatedValueUnwrapper.handleValidatedValue ( OptionalDouble optional )This method is from 'OptionalDoubleValidatedValueUnwrapper' class.
[+] class OptionalIntValidatedValueUnwrapper 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class OptionalIntValidatedValueUnwrapper. |
[+] affected methods: 4 (4.3%)
OptionalIntValidatedValueUnwrapper.OptionalIntValidatedValueUnwrapper ( )This constructor is from 'OptionalIntValidatedValueUnwrapper' class.
OptionalIntValidatedValueUnwrapper.getValidatedValueType ( Type type )This method is from 'OptionalIntValidatedValueUnwrapper' class.
OptionalIntValidatedValueUnwrapper.handleValidatedValue ( Object p1 )This method is from 'OptionalIntValidatedValueUnwrapper' class.
OptionalIntValidatedValueUnwrapper.handleValidatedValue ( OptionalInt optional )This method is from 'OptionalIntValidatedValueUnwrapper' class.
[+] class OptionalLongValidatedValueUnwrapper 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class OptionalLongValidatedValueUnwrapper. |
[+] affected methods: 4 (4.3%)
OptionalLongValidatedValueUnwrapper.OptionalLongValidatedValueUnwrapper ( )This constructor is from 'OptionalLongValidatedValueUnwrapper' class.
OptionalLongValidatedValueUnwrapper.getValidatedValueType ( Type type )This method is from 'OptionalLongValidatedValueUnwrapper' class.
OptionalLongValidatedValueUnwrapper.handleValidatedValue ( Object p1 )This method is from 'OptionalLongValidatedValueUnwrapper' class.
OptionalLongValidatedValueUnwrapper.handleValidatedValue ( OptionalLong optional )This method is from 'OptionalLongValidatedValueUnwrapper' class.
to the top
Problems with Data Types, Medium Severity 2
dropwizard-validation-1.3.29.jar
package io.dropwizard.validation
[+] @interface MinDuration 1
| Change | Effect |
---|
1 |
Removed default value "must be greater than (or equal to, if in \'inclusive\' mode) {value} {unit}" from the element message of this annotation type. |
Recompilation of a client program may be terminated with the error message: annotation @MinDuration is missing a default value for the element 'message' |
dropwizard-validation-1.3.29.jar
package io.dropwizard.validation.selfvalidating
[+] @interface SelfValidating 1
| Change | Effect |
---|
1 |
Element escapeExpressions of type boolean with default value 1 has been removed from this annotation type. |
Recompilation of a client program may be terminated with the error message: cannot find symbol @SelfValidating(escapeExpressions=VAL) |
to the top
Problems with Methods, Medium Severity 3
dropwizard-validation-1.3.29.jar, ConstraintViolations.class
package io.dropwizard.validation
[+] ConstraintViolations.copyOf ( Set<ConstraintViolation<T>> violations ) [static] : ImmutableSet<ConstraintViolation<?>> 1
io/dropwizard/validation/ConstraintViolations.copyOf:(Ljava/util/Set;)Lcom/google/common/collect/ImmutableSet;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.collect.ImmutableSet<javax.validation.ConstraintViolation<?>> to java.util.Set<javax.validation.ConstraintViolation<?>>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Set<javax.validation.ConstraintViolation<?>> cannot be converted to com.google.common.collect.ImmutableSet<javax.validation.ConstraintViolation<?>>. |
[+] ConstraintViolations.format ( Set<ConstraintViolation<T>> violations ) [static] : ImmutableList<String> 1
io/dropwizard/validation/ConstraintViolations.format:(Ljava/util/Set;)Lcom/google/common/collect/ImmutableList;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.collect.ImmutableList<java.lang.String> to java.util.Collection<java.lang.String>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Collection<java.lang.String> cannot be converted to com.google.common.collect.ImmutableList<java.lang.String>. |
[+] ConstraintViolations.formatUntyped ( Set<ConstraintViolation<?>> violations ) [static] : ImmutableList<String> 1
io/dropwizard/validation/ConstraintViolations.formatUntyped:(Ljava/util/Set;)Lcom/google/common/collect/ImmutableList;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.collect.ImmutableList<java.lang.String> to java.util.Collection<java.lang.String>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Collection<java.lang.String> cannot be converted to com.google.common.collect.ImmutableList<java.lang.String>. |
to the top
Java Archives 1
dropwizard-validation-1.3.29.jar
to the top