mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-27 01:19:02 +00:00
Avoid deprecated number constructors on JDK 9
Issue: SPR-13344
This commit is contained in:
@@ -161,9 +161,9 @@ public class ConnectionHolder extends ResourceHolderSupport {
|
||||
*/
|
||||
public boolean supportsSavepoints() throws SQLException {
|
||||
if (this.savepointsSupported == null) {
|
||||
this.savepointsSupported = new Boolean(getConnection().getMetaData().supportsSavepoints());
|
||||
this.savepointsSupported = getConnection().getMetaData().supportsSavepoints();
|
||||
}
|
||||
return this.savepointsSupported.booleanValue();
|
||||
return this.savepointsSupported;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user