Binary compatibility report for the dropwizard-metrics library between 0.9.3 and 1.0.0 versions
Test Info
Library Name | dropwizard-metrics |
Version #1 | 0.9.3 |
Version #2 | 1.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 52 / 9 |
Compatibility |
91.8% |
Problem Summary
| Severity | Count |
Added Methods | - | 3 |
Removed Methods | High | 3 |
Problems with Data Types | High | 1 |
Medium | 1 |
Low | 0 |
Problems with Methods | High | 2 |
Medium | 0 |
Low | 0 |
Added Methods 3
dropwizard-metrics-1.0.0.jar, BaseReporterFactory.class
package io.dropwizard.metrics
BaseReporterFactory.getFrequency ( ) : Optional<Duration>
io/dropwizard/metrics/BaseReporterFactory.getFrequency:()Ljava/util/Optional;
BaseReporterFactory.setFrequency ( Optional<Duration> frequency ) : void
io/dropwizard/metrics/BaseReporterFactory.setFrequency:(Ljava/util/Optional;)V
dropwizard-metrics-1.0.0.jar, ReporterFactory.class
package io.dropwizard.metrics
ReporterFactory.getFrequency ( ) [abstract] : Optional<Duration>
io/dropwizard/metrics/ReporterFactory.getFrequency:()Ljava/util/Optional;
to the top
Removed Methods 3
dropwizard-metrics-0.9.3.jar, BaseReporterFactory.class
package io.dropwizard.metrics
BaseReporterFactory.getFrequency ( ) : Optional<Duration>
io/dropwizard/metrics/BaseReporterFactory.getFrequency:()Lcom/google/common/base/Optional;
BaseReporterFactory.setFrequency ( Optional<Duration> frequency ) : void
io/dropwizard/metrics/BaseReporterFactory.setFrequency:(Lcom/google/common/base/Optional;)V
dropwizard-metrics-0.9.3.jar, ReporterFactory.class
package io.dropwizard.metrics
ReporterFactory.getFrequency ( ) [abstract] : Optional<Duration>
io/dropwizard/metrics/ReporterFactory.getFrequency:()Lcom/google/common/base/Optional;
to the top
Problems with Data Types, High Severity 1
dropwizard-metrics-0.9.3.jar
package io.dropwizard.metrics
[+] interface ReporterFactory 1
| Change | Effect |
---|
1 |
Abstract method Optional<Duration> getFrequency ( ) has been removed from this interface. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 1 (1.9%)
ReporterFactory.build ( MetricRegistry p1 )This abstract method is from 'ReporterFactory' interface.
to the top
Problems with Methods, High Severity 2
dropwizard-metrics-0.9.3.jar, BaseReporterFactory.class
package io.dropwizard.metrics
[+] BaseReporterFactory.getFrequency ( ) : Optional<Duration> 1
io/dropwizard/metrics/BaseReporterFactory.getFrequency:()Lcom/google/common/base/Optional;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.base.Optional<io.dropwizard.util.Duration> to java.util.Optional<io.dropwizard.util.Duration>. |
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-metrics-0.9.3.jar, ReporterFactory.class
package io.dropwizard.metrics
[+] ReporterFactory.getFrequency ( ) [abstract] : Optional<Duration> 1
io/dropwizard/metrics/ReporterFactory.getFrequency:()Lcom/google/common/base/Optional;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.base.Optional<io.dropwizard.util.Duration> to java.util.Optional<io.dropwizard.util.Duration>. |
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
Problems with Data Types, Medium Severity 1
dropwizard-metrics-0.9.3.jar
package io.dropwizard.metrics
[+] interface ReporterFactory 1
| Change | Effect |
---|
1 |
Abstract method Optional<Duration> getFrequency ( ) has been added to this interface. |
A client program may be interrupted by AbstractMethodError exception. Added abstract method is called in 2nd library version by the method MetricsFactory.configure ( LifecycleEnvironment, MetricRegistry ) and may not be implemented by old clients. |
[+] affected methods: 1 (1.9%)
ReporterFactory.build ( MetricRegistry p1 )This abstract method is from 'ReporterFactory' interface.
to the top
Java Archives 1
dropwizard-metrics-0.9.3.jar
to the top