Source 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 | 5 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
Medium | 6 |
Low | 0 |
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 5
dropwizard-db-0.9.3.jar
package io.dropwizard.db
[+] interface PooledDataSourceFactory 5
| Change | Effect |
---|
1 |
Abstract method Optional<Duration> getHealthCheckValidationTimeout ( ) 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 getHealthCheckValidationTimeout ( ) in PooledDataSourceFactory. |
2 |
Abstract method String getUrl ( ) 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 getUrl ( ) in PooledDataSourceFactory. |
3 |
Abstract method Optional<Duration> getValidationQueryTimeout ( ) 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 getValidationQueryTimeout ( ) in PooledDataSourceFactory. |
4 |
Abstract method Optional<Duration> getHealthCheckValidationTimeout ( ) has been removed from this interface. |
Recompilation of a client program may be terminated with the message: cannot find method getHealthCheckValidationTimeout ( ) in interface PooledDataSourceFactory. |
5 |
Abstract method Optional<Duration> getValidationQueryTimeout ( ) has been removed from this interface. |
Recompilation of a client program may be terminated with the message: cannot find method getValidationQueryTimeout ( ) in interface PooledDataSourceFactory. |
[+] 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, Medium 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>. |
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>. |
[+] 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>. |
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>. |
[+] 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>. |
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>. |
[+] 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>. |
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Optional<java.lang.String> cannot be converted to com.google.common.base.Optional<java.lang.String>. |
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>. |
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>. |
[+] 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>. |
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-db-0.9.3.jar
to the top