Source compatibility report for the dropwizard-discovery library between 0.7.1-3 and 0.7.1-5 versions
Test Info
Library Name | dropwizard-discovery |
Version #1 | 0.7.1-3 |
Version #2 | 0.7.1-5 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 97 / 19 |
Compatibility |
96.3% |
Problem Summary
| Severity | Count |
Added Methods | - | 16 |
Removed Methods | High | 1 |
Problems with Data Types | High | 3 |
Medium | 0 |
Low | 1 |
Problems with Methods | High | 0 |
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 5 |
Added Methods 16
dropwizard-discovery-0.7.1-5.jar, AbstractDiscoveryBundle.class
package io.dropwizard.discovery
AbstractDiscoveryBundle<T,V>.AbstractDiscoveryBundle<T,V> ( )
io/dropwizard/discovery/AbstractDiscoveryBundle."<init>":()V
AbstractDiscoveryBundle<T,V>.getPayloadClass ( ) [abstract] : Class<V>
io/dropwizard/discovery/AbstractDiscoveryBundle.getPayloadClass:()Ljava/lang/Class;
AbstractDiscoveryBundle<T,V>.initialize ( Bootstrap<?> bootstrap ) : void
io/dropwizard/discovery/AbstractDiscoveryBundle.initialize:(Lio/dropwizard/setup/Bootstrap;)V
AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String serviceName ) : DiscoveryClient<V>
io/dropwizard/discovery/AbstractDiscoveryBundle.newDiscoveryClient:(Ljava/lang/String;)Lio/dropwizard/discovery/client/DiscoveryClient;
AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String serviceName, ProviderStrategy<V> providerStrategy ) : DiscoveryClient<V>
io/dropwizard/discovery/AbstractDiscoveryBundle.newDiscoveryClient:(Ljava/lang/String;Lorg/apache/curator/x/discovery/ProviderStrategy;)Lio/dropwizard/discovery/client/DiscoveryClient;
AbstractDiscoveryBundle<T,V>.run ( Object p1, Environment p2 ) : void
io/dropwizard/discovery/AbstractDiscoveryBundle.run:(Ljava/lang/Object;Lio/dropwizard/setup/Environment;)V
AbstractDiscoveryBundle<T,V>.run ( T configuration, Environment environment ) : void
io/dropwizard/discovery/AbstractDiscoveryBundle.run:(Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;)V
dropwizard-discovery-0.7.1-5.jar, CuratorAdvertiser.class
package io.dropwizard.discovery.core
CuratorAdvertiser<T>.CuratorAdvertiser<T> ( DiscoveryFactory configuration, ServiceDiscovery<T> discovery, ServiceInstanceFactory<T> serviceInstanceFactory )
io/dropwizard/discovery/core/CuratorAdvertiser."<init>":(Lio/dropwizard/discovery/DiscoveryFactory;Lorg/apache/curator/x/discovery/ServiceDiscovery;Lio/dropwizard/discovery/core/ServiceInstanceFactory;)V
dropwizard-discovery-0.7.1-5.jar, DefaultServiceInstanceFactory.class
package io.dropwizard.discovery.core
DefaultServiceInstanceFactory.build ( String serviceName, CuratorAdvertiser<InstanceMetadata> advertiser ) : ServiceInstance<InstanceMetadata>
io/dropwizard/discovery/core/DefaultServiceInstanceFactory.build:(Ljava/lang/String;Lio/dropwizard/discovery/core/CuratorAdvertiser;)Lorg/apache/curator/x/discovery/ServiceInstance;
DefaultServiceInstanceFactory.DefaultServiceInstanceFactory ( )
io/dropwizard/discovery/core/DefaultServiceInstanceFactory."<init>":()V
DefaultServiceInstanceFactory.getPayloadClass ( ) : Class<InstanceMetadata>
io/dropwizard/discovery/core/DefaultServiceInstanceFactory.getPayloadClass:()Ljava/lang/Class;
dropwizard-discovery-0.7.1-5.jar, DiscoveryBundle.class
package io.dropwizard.discovery
DiscoveryBundle<T>.getCuratorAdvertiser ( DiscoveryFactory discoveryConfig, ServiceDiscovery<InstanceMetadata> discovery ) : CuratorAdvertiser<InstanceMetadata>
io/dropwizard/discovery/DiscoveryBundle.getCuratorAdvertiser:(Lio/dropwizard/discovery/DiscoveryFactory;Lorg/apache/curator/x/discovery/ServiceDiscovery;)Lio/dropwizard/discovery/core/CuratorAdvertiser;
DiscoveryBundle<T>.getPayloadClass ( ) : Class<InstanceMetadata>
io/dropwizard/discovery/DiscoveryBundle.getPayloadClass:()Ljava/lang/Class;
dropwizard-discovery-0.7.1-5.jar, DiscoveryConfiguration.class
package io.dropwizard.discovery
DiscoveryConfiguration<T,V>.getCuratorAdvertiser ( DiscoveryFactory p1, ServiceDiscovery<V> p2 ) [abstract] : CuratorAdvertiser<V>
io/dropwizard/discovery/DiscoveryConfiguration.getCuratorAdvertiser:(Lio/dropwizard/discovery/DiscoveryFactory;Lorg/apache/curator/x/discovery/ServiceDiscovery;)Lio/dropwizard/discovery/core/CuratorAdvertiser;
dropwizard-discovery-0.7.1-5.jar, ServiceInstanceFactory.class
package io.dropwizard.discovery.core
ServiceInstanceFactory<T>.build ( String p1, CuratorAdvertiser<T> p2 ) [abstract] : ServiceInstance<T>
io/dropwizard/discovery/core/ServiceInstanceFactory.build:(Ljava/lang/String;Lio/dropwizard/discovery/core/CuratorAdvertiser;)Lorg/apache/curator/x/discovery/ServiceInstance;
ServiceInstanceFactory<T>.getPayloadClass ( ) [abstract] : Class<T>
io/dropwizard/discovery/core/ServiceInstanceFactory.getPayloadClass:()Ljava/lang/Class;
to the top
Removed Methods 1
dropwizard-discovery-0.7.1-3.jar, CuratorAdvertiser.class
package io.dropwizard.discovery.core
CuratorAdvertiser.CuratorAdvertiser ( DiscoveryFactory configuration, ServiceDiscovery<InstanceMetadata> discovery )
io/dropwizard/discovery/core/CuratorAdvertiser."<init>":(Lio/dropwizard/discovery/DiscoveryFactory;Lorg/apache/curator/x/discovery/ServiceDiscovery;)V
to the top
Problems with Data Types, High Severity 3
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery
[+] class DiscoveryBundle<T> 2
| Change | Effect |
---|
1 |
Removed super-interface io.dropwizard.ConfiguredBundle<T>. |
Recompilation of a client program may be terminated with the message: cannot find method in class DiscoveryBundle<T>. |
2 |
Removed super-interface DiscoveryConfiguration<T>. |
Recompilation of a client program may be terminated with the message: cannot find method in class DiscoveryBundle<T>. |
[+] affected methods: 1 (1%)
DiscoveryBundle<T>.DiscoveryBundle<T> ( )This constructor is from 'DiscoveryBundle<T>' abstract class.
[+] interface DiscoveryConfiguration<T> 1
| Change | Effect |
---|
1 |
Abstract method CuratorAdvertiser<V> getCuratorAdvertiser ( DiscoveryFactory, ServiceDiscovery<V> ) 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 getCuratorAdvertiser ( DiscoveryFactory, ServiceDiscovery<V> ) in DiscoveryConfiguration<T,V>. |
[+] affected methods: 1 (1%)
DiscoveryConfiguration<T>.getDiscoveryFactory ( T p1 )This abstract method is from 'DiscoveryConfiguration<T>' interface.
to the top
Problems with Data Types, Low Severity 1
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery
[+] class DiscoveryBundle<T> 1
| Change | Effect |
---|
1 |
Added super-class AbstractDiscoveryBundle<T,core.InstanceMetadata>. |
A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class. Recompilation of a client class may be terminated with the message: reference to variable is ambiguous. |
[+] affected methods: 1 (1%)
DiscoveryBundle<T>.DiscoveryBundle<T> ( )This constructor is from 'DiscoveryBundle<T>' abstract class.
to the top
Other Changes in Data Types 5
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery.client
[+] class DiscoveryClient 1
| Change | Effect |
---|
1 |
This class became generic (DiscoveryClient<T>). |
No effect. |
[+] affected methods: 8 (8.2%)
DiscoveryClient.DiscoveryClient ( String serviceName, ServiceDiscovery<InstanceMetadata> discovery, DownInstancePolicy downInstancePolicy, ProviderStrategy<InstanceMetadata> providerStrategy )This constructor is from 'DiscoveryClient' class.
DiscoveryClient.close ( )This method is from 'DiscoveryClient' class.
DiscoveryClient.getInstance ( )This method is from 'DiscoveryClient' class.
DiscoveryClient.getInstances ( )This method is from 'DiscoveryClient' class.
DiscoveryClient.getInstances ( String serviceName )This method is from 'DiscoveryClient' class.
...
[+] class DiscoveryClientManager 1
| Change | Effect |
---|
1 |
This class became generic (DiscoveryClientManager<T>). |
No effect. |
[+] affected methods: 3 (3.1%)
DiscoveryClientManager.DiscoveryClientManager ( DiscoveryClient client )This constructor is from 'DiscoveryClientManager' class.
DiscoveryClientManager.start ( )This method is from 'DiscoveryClientManager' class.
DiscoveryClientManager.stop ( )This method is from 'DiscoveryClientManager' class.
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery.core
[+] class CuratorAdvertisementListener 1
| Change | Effect |
---|
1 |
This class became generic (CuratorAdvertisementListener<T>). |
No effect. |
[+] affected methods: 2 (2.1%)
CuratorAdvertisementListener.CuratorAdvertisementListener ( CuratorAdvertiser advertiser )This constructor is from 'CuratorAdvertisementListener' class.
CuratorAdvertisementListener.serverStarted ( Server server )This method is from 'CuratorAdvertisementListener' class.
[+] class CuratorAdvertiser 1
| Change | Effect |
---|
1 |
This class became generic (CuratorAdvertiser<T>). |
No effect. |
[+] affected methods: 12 (12.4%)
CuratorAdvertiser.CuratorAdvertiser ( DiscoveryFactory configuration, ServiceDiscovery<InstanceMetadata> discovery )This constructor is from 'CuratorAdvertiser' class.
CuratorAdvertiser.checkInitialized ( )This method is from 'CuratorAdvertiser' class.
CuratorAdvertiser.getInstance ( )This method is from 'CuratorAdvertiser' class.
CuratorAdvertiser.getInstanceId ( )This method is from 'CuratorAdvertiser' class.
CuratorAdvertiser.getListenAddress ( )This method is from 'CuratorAdvertiser' class.
...
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery.manage
[+] class CuratorAdvertiserManager 1
| Change | Effect |
---|
1 |
This class became generic (CuratorAdvertiserManager<T>). |
No effect. |
[+] affected methods: 3 (3.1%)
CuratorAdvertiserManager.CuratorAdvertiserManager ( CuratorAdvertiser advertiser )This constructor is from 'CuratorAdvertiserManager' class.
CuratorAdvertiserManager.start ( )This method is from 'CuratorAdvertiserManager' class.
CuratorAdvertiserManager.stop ( )This method is from 'CuratorAdvertiserManager' class.
to the top
Java Archives 1
dropwizard-discovery-0.7.1-3.jar
to the top