Source compatibility report for the dropwizard-discovery library between 1.1.0-2 and 1.2.2-1 versions
Test Info
Library Name | dropwizard-discovery |
Version #1 | 1.1.0-2 |
Version #2 | 1.2.2-1 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 96 / 17 |
Compatibility |
96.8% |
Problem Summary
| Severity | Count |
Added Methods | - | 3 |
Removed Methods | High | 3 |
Problems with Data Types | High | 0 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
Medium | 2 |
Low | 0 |
Added Methods 3
dropwizard-discovery-1.2.2-1.jar, CuratorAdvertiser.class
package io.dropwizard.discovery.core
CuratorAdvertiser<T>.getAdminPort ( ) : Optional<Integer>
io/dropwizard/discovery/core/CuratorAdvertiser.getAdminPort:()Ljava/util/Optional;
dropwizard-discovery-1.2.2-1.jar, InstanceMetadata.class
package io.dropwizard.discovery.core
InstanceMetadata.getAdminPort ( ) : Optional<Integer>
io/dropwizard/discovery/core/InstanceMetadata.getAdminPort:()Ljava/util/Optional;
InstanceMetadata.InstanceMetadata ( UUID instanceId, String listenAddress, int listenPort, Optional<Integer> adminPort )
io/dropwizard/discovery/core/InstanceMetadata."<init>":(Ljava/util/UUID;Ljava/lang/String;ILjava/util/Optional;)V
to the top
Removed Methods 3
dropwizard-discovery-1.1.0-2.jar, CuratorAdvertiser.class
package io.dropwizard.discovery.core
CuratorAdvertiser<T>.getAdminPort ( ) : Optional<Integer>
io/dropwizard/discovery/core/CuratorAdvertiser.getAdminPort:()Lcom/google/common/base/Optional;
dropwizard-discovery-1.1.0-2.jar, InstanceMetadata.class
package io.dropwizard.discovery.core
InstanceMetadata.getAdminPort ( ) : Optional<Integer>
io/dropwizard/discovery/core/InstanceMetadata.getAdminPort:()Lcom/google/common/base/Optional;
InstanceMetadata.InstanceMetadata ( UUID instanceId, String listenAddress, int listenPort, Optional<Integer> adminPort )
io/dropwizard/discovery/core/InstanceMetadata."<init>":(Ljava/util/UUID;Ljava/lang/String;ILcom/google/common/base/Optional;)V
to the top
Problems with Methods, Medium Severity 2
dropwizard-discovery-1.1.0-2.jar, CuratorAdvertiser.class
package io.dropwizard.discovery.core
[+] CuratorAdvertiser<T>.getAdminPort ( ) : Optional<Integer> 1
io/dropwizard/discovery/core/CuratorAdvertiser.getAdminPort:()Lcom/google/common/base/Optional;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.base.Optional<java.lang.Integer> to java.util.Optional<java.lang.Integer>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Optional<java.lang.Integer> cannot be converted to com.google.common.base.Optional<java.lang.Integer>. |
dropwizard-discovery-1.1.0-2.jar, InstanceMetadata.class
package io.dropwizard.discovery.core
[+] InstanceMetadata.getAdminPort ( ) : Optional<Integer> 1
io/dropwizard/discovery/core/InstanceMetadata.getAdminPort:()Lcom/google/common/base/Optional;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.base.Optional<java.lang.Integer> to java.util.Optional<java.lang.Integer>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Optional<java.lang.Integer> cannot be converted to com.google.common.base.Optional<java.lang.Integer>. |
to the top
Java Archives 1
dropwizard-discovery-1.1.0-2.jar
to the top