094508eda2bfab3cd2db657ae61fb3bb8ee75ca9
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 3 | ||
Move And Rename Method public testConnectionWithSSL() : void from class com.facebook.presto.jdbc.TestDriver to public testUrlWithSsl() : void from class com.facebook.presto.jdbc.TestPrestoDriverUri | From | To | |
Move And Rename Method private createHttpUri(address HostAndPort) : URI from class com.facebook.presto.jdbc.PrestoConnection to private buildHttpUri() : URI from class com.facebook.presto.jdbc.PrestoDriverUri | From | To | |
Move And Rename Method private setCatalogAndSchema() : void from class com.facebook.presto.jdbc.PrestoConnection to private initCatalogAndSchema() : void from class com.facebook.presto.jdbc.PrestoDriverUri | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type uri : URI to uri : PrestoDriverUri in method package PrestoConnection(uri PrestoDriverUri, user String, queryExecutor QueryExecutor) in class com.facebook.presto.jdbc.PrestoConnection | From | To | |
Move Method | 6 | ||
Move Method public testBadUrlEndsInSlashes() : void from class com.facebook.presto.jdbc.TestDriver to public testBadUrlEndsInSlashes() : void from class com.facebook.presto.jdbc.TestPrestoDriverUri | From | To | |
Move Method package getHttpUri() : URI from class com.facebook.presto.jdbc.PrestoConnection to public getHttpUri() : URI from class com.facebook.presto.jdbc.PrestoDriverUri | From | To | |
Move Method public testBadUrlMissingSchema() : void from class com.facebook.presto.jdbc.TestDriver to public testBadUrlMissingSchema() : void from class com.facebook.presto.jdbc.TestPrestoDriverUri | From | To | |
Move Method public testBadUrlMissingCatalog() : void from class com.facebook.presto.jdbc.TestDriver to public testBadUrlMissingCatalog() : void from class com.facebook.presto.jdbc.TestPrestoDriverUri | From | To | |
Move Method public testBadUrlExtraPathSegments() : void from class com.facebook.presto.jdbc.TestDriver to public testBadUrlExtraPathSegments() : void from class com.facebook.presto.jdbc.TestPrestoDriverUri | From | To | |
Move Method private parseDriverUrl(url String) : URI from class com.facebook.presto.jdbc.PrestoDriver to private parseDriverUrl(url String) : URI from class com.facebook.presto.jdbc.PrestoDriverUri | From | To | |
Move Attribute | 3 | ||
Move Attribute private JDBC_URL_START : String from class com.facebook.presto.jdbc.PrestoDriver to private JDBC_URL_START : String from class com.facebook.presto.jdbc.PrestoDriverUri | From | To | |
Move Attribute private uri : URI from class com.facebook.presto.jdbc.PrestoConnection to private uri : URI from class com.facebook.presto.jdbc.PrestoDriverUri | From | To | |
Move Attribute private address : HostAndPort from class com.facebook.presto.jdbc.PrestoConnection to private address : HostAndPort from class com.facebook.presto.jdbc.PrestoDriverUri | From | To | |
Extract Class | 2 | ||
Extract Class com.facebook.presto.jdbc.PrestoDriverUri from class com.facebook.presto.jdbc.PrestoConnection | From | To | |
Extract Class com.facebook.presto.jdbc.TestPrestoDriverUri from class com.facebook.presto.jdbc.TestDriver | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute uri : URI to httpUri : URI in method package startQuery(sql String) : StatementClient in class com.facebook.presto.jdbc.PrestoConnection | From | To |