Binary compatibility report for the dropwizard-db library between 0.9.3 and 1.0.0 versions
Test Info
Library Name | dropwizard-db |
Version #1 | 0.9.3 |
Version #2 | 1.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 107 / 7 |
Compatibility |
84.5% |
Problem Summary
| Severity | Count |
Added Methods | - | 10 |
Removed Methods | High | 7 |
Problems with Data Types | High | 2 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 6 |
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 3 |
Added Methods 10
dropwizard-db-1.0.0.jar, DataSourceFactory.class
package io.dropwizard.db
DataSourceFactory.getHealthCheckValidationTimeout ( ) : Optional<Duration> *DEPRECATED*
io/dropwizard/db/DataSourceFactory.getHealthCheckValidationTimeout:()Ljava/util/Optional;
DataSourceFactory.getMaxConnectionAge ( ) : Optional<Duration>
io/dropwizard/db/DataSourceFactory.getMaxConnectionAge:()Ljava/util/Optional;
DataSourceFactory.getRollbackOnReturn ( ) : boolean
io/dropwizard/db/DataSourceFactory.getRollbackOnReturn:()Z
DataSourceFactory.getValidationQueryTimeout ( ) : Optional<Duration>
io/dropwizard/db/DataSourceFactory.getValidationQueryTimeout:()Ljava/util/Optional;
DataSourceFactory.getValidatorClassName ( ) : Optional<String>
io/dropwizard/db/DataSourceFactory.getValidatorClassName:()Ljava/util/Optional;
DataSourceFactory.setRollbackOnReturn ( boolean rollbackOnReturn ) : void
io/dropwizard/db/DataSourceFactory.setRollbackOnReturn:(Z)V
DataSourceFactory.setValidatorClassName ( Optional<String> validatorClassName ) : void
io/dropwizard/db/DataSourceFactory.setValidatorClassName:(Ljava/util/Optional;)V
dropwizard-db-1.0.0.jar, PooledDataSourceFactory.class
package io.dropwizard.db
PooledDataSourceFactory.getHealthCheckValidationTimeout ( ) [abstract] : Optional<Duration> *DEPRECATED*
io/dropwizard/db/PooledDataSourceFactory.getHealthCheckValidationTimeout:()Ljava/util/Optional;
PooledDataSourceFactory.getUrl ( ) [abstract] : String
io/dropwizard/db/PooledDataSourceFactory.getUrl:()Ljava/lang/String;
PooledDataSourceFactory.getValidationQueryTimeout ( ) [abstract] : Optional<Duration>
io/dropwizard/db/PooledDataSourceFactory.getValidationQueryTimeout:()Ljava/util/Optional;
to the top
Removed Methods 7
dropwizard-db-0.9.3.jar, DataSourceFactory.class
package io.dropwizard.db
DataSourceFactory.getHealthCheckValidationTimeout ( ) : Optional<Duration> *DEPRECATED*
io/dropwizard/db/DataSourceFactory.getHealthCheckValidationTimeout:()Lcom/google/common/base/Optional;
DataSourceFactory.getMaxConnectionAge ( ) : Optional<Duration>
io/dropwizard/db/DataSourceFactory.getMaxConnectionAge:()Lcom/google/common/base/Optional;
DataSourceFactory.getValidationQueryTimeout ( ) : Optional<Duration>
io/dropwizard/db/DataSourceFactory.getValidationQueryTimeout:()Lcom/google/common/base/Optional;
DataSourceFactory.getValidatorClassName ( ) : Optional<String>
io/dropwizard/db/DataSourceFactory.getValidatorClassName:()Lcom/google/common/base/Optional;
DataSourceFactory.setValidatorClassName ( Optional<String> validatorClassName ) : void
io/dropwizard/db/DataSourceFactory.setValidatorClassName:(Lcom/google/common/base/Optional;)V
dropwizard-db-0.9.3.jar, PooledDataSourceFactory.class
package io.dropwizard.db
PooledDataSourceFactory.getHealthCheckValidationTimeout ( ) [abstract] : Optional<Duration> *DEPRECATED*
io/dropwizard/db/PooledDataSourceFactory.getHealthCheckValidationTimeout:()Lcom/google/common/base/Optional;
PooledDataSourceFactory.getValidationQueryTimeout ( ) [abstract] : Optional<Duration>
io/dropwizard/db/PooledDataSourceFactory.getValidationQueryTimeout:()Lcom/google/common/base/Optional;
to the top
Problems with Data Types, High Severity 2
dropwizard-db-0.9.3.jar
package io.dropwizard.db
[+] interface PooledDataSourceFactory 2
| Change | Effect |
---|
1 |
Abstract method Optional<Duration> getHealthCheckValidationTimeout ( ) has been removed from this interface. |
A client program may be interrupted by NoSuchMethodError exception. |
2 |
Abstract method Optional<Duration> getValidationQueryTimeout ( ) has been removed from this interface. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 8 (7.5%)
DatabaseConfiguration<T>.getDataSourceFactory ( T p1 )Return value of this abstract method is of type 'PooledDataSourceFactory'.
PooledDataSourceFactory.asSingleConnectionPool ( )This abstract method is from 'PooledDataSourceFactory' interface.
PooledDataSourceFactory.build ( MetricRegistry p1, String p2 )This abstract method is from 'PooledDataSourceFactory' interface.
PooledDataSourceFactory.getDriverClass ( )This abstract method is from 'PooledDataSourceFactory' interface.
PooledDataSourceFactory.getHealthCheckValidationQuery ( )This abstract method is from 'PooledDataSourceFactory' interface.
...
to the top
Problems with Methods, High Severity 6
dropwizard-db-0.9.3.jar, DataSourceFactory.class
package io.dropwizard.db
[+] DataSourceFactory.getHealthCheckValidationTimeout ( ) : Optional<Duration> *DEPRECATED* 1
io/dropwizard/db/DataSourceFactory.getHealthCheckValidationTimeout:()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. |
[+] DataSourceFactory.getMaxConnectionAge ( ) : Optional<Duration> 1
io/dropwizard/db/DataSourceFactory.getMaxConnectionAge:()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. |
[+] DataSourceFactory.getValidationQueryTimeout ( ) : Optional<Duration> 1
io/dropwizard/db/DataSourceFactory.getValidationQueryTimeout:()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. |
[+] DataSourceFactory.getValidatorClassName ( ) : Optional<String> 1
io/dropwizard/db/DataSourceFactory.getValidatorClassName:()Lcom/google/common/base/Optional;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.base.Optional<java.lang.String> to java.util.Optional<java.lang.String>. |
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-db-0.9.3.jar, PooledDataSourceFactory.class
package io.dropwizard.db
[+] PooledDataSourceFactory.getHealthCheckValidationTimeout ( ) [abstract] : Optional<Duration> *DEPRECATED* 1
io/dropwizard/db/PooledDataSourceFactory.getHealthCheckValidationTimeout:()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. |
[+] PooledDataSourceFactory.getValidationQueryTimeout ( ) [abstract] : Optional<Duration> 1
io/dropwizard/db/PooledDataSourceFactory.getValidationQueryTimeout:()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
Other Changes in Data Types 3
dropwizard-db-0.9.3.jar
package io.dropwizard.db
[+] interface PooledDataSourceFactory 3
| Change | Effect |
---|
1 |
Abstract method Optional<Duration> getHealthCheckValidationTimeout ( ) has been added to this interface. |
No effect. |
2 |
Abstract method String getUrl ( ) has been added to this interface. |
No effect. |
3 |
Abstract method Optional<Duration> getValidationQueryTimeout ( ) has been added to this interface. |
No effect. |
[+] affected methods: 8 (7.5%)
DatabaseConfiguration<T>.getDataSourceFactory ( T p1 )Return value of this abstract method is of type 'PooledDataSourceFactory'.
PooledDataSourceFactory.asSingleConnectionPool ( )This abstract method is from 'PooledDataSourceFactory' interface.
PooledDataSourceFactory.build ( MetricRegistry p1, String p2 )This abstract method is from 'PooledDataSourceFactory' interface.
PooledDataSourceFactory.getDriverClass ( )This abstract method is from 'PooledDataSourceFactory' interface.
PooledDataSourceFactory.getHealthCheckValidationQuery ( )This abstract method is from 'PooledDataSourceFactory' interface.
...
to the top
Java Archives 1
dropwizard-db-0.9.3.jar
to the top