Source 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 | 2 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
Medium | 2 |
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 2
dropwizard-metrics-0.9.3.jar
package io.dropwizard.metrics
[+] interface ReporterFactory 2
| Change | Effect |
---|
1 |
Abstract method Optional<Duration> getFrequency ( ) has been added to this interface. |
Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getFrequency ( ) in ReporterFactory. |
2 |
Abstract method Optional<Duration> getFrequency ( ) has been removed from this interface. |
Recompilation of a client program may be terminated with the message: cannot find method getFrequency ( ) in interface ReporterFactory. |
[+] affected methods: 1 (1.9%)
ReporterFactory.build ( MetricRegistry p1 )This abstract method is from 'ReporterFactory' interface.
to the top
Problems with Methods, Medium 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>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Optional<io.dropwizard.util.Duration> cannot be converted to com.google.common.base.Optional<io.dropwizard.util.Duration>. |
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>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Optional<io.dropwizard.util.Duration> cannot be converted to com.google.common.base.Optional<io.dropwizard.util.Duration>. |
to the top
Java Archives 1
dropwizard-metrics-0.9.3.jar
to the top