b2187b3b1c83e2086debdf8c28f11f75da15e8b9
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Inline Method | 2 | ||
| Move And Inline Method public fillCheckSessionExistsStatement(statement PreparedStatement, id String, contextId SessionContext) : void moved from class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema to class org.eclipse.jetty.server.session.JDBCSessionDataStore & inlined to public exists(id String) : boolean | From | To | |
| Move And Inline Method public fillCheckSessionExistsStatement(statement PreparedStatement, id String, contextId SessionContext) : void moved from class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema to class org.eclipse.jetty.server.session.JDBCSessionDataStore & inlined to public doGetExpired(candidates Set<String>) : Set<String> | From | To | |
| Extract Variable | 6 | ||
| Extract Variable cp : String in method public getLoadStatement(connection Connection, id String, contextId SessionContext) : PreparedStatement from class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To | |
| Extract Variable cp : String in method public getMyExpiredSessionsStatement(connection Connection, sessionContext SessionContext, expiry long) : PreparedStatement from class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To | |
| Extract Variable cp : String in method public getExpiredSessionsStatement(connection Connection, canonicalContextPath String, vhost String, expiry long) : PreparedStatement from class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To | |
| Extract Variable cp : String in method private doInsert(id String, data SessionData) : void from class org.eclipse.jetty.server.session.JDBCSessionDataStore | From | To | |
| Extract Variable cp : String in method public getDeleteStatement(connection Connection, id String, contextId SessionContext) : PreparedStatement from class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To | |
| Extract Variable cp : String in method public getUpdateStatement(connection Connection, id String, contextId SessionContext) : PreparedStatement from class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To | |
| Extract Method | 2 | ||
| Extract Method public newSessionDataStoreFactory(da DatabaseAdaptor) : SessionDataStoreFactory extracted from public newSessionDataStoreFactory() : SessionDataStoreFactory in class org.eclipse.jetty.server.session.JdbcTestHelper | From | To | |
| Extract Method public newSessionTableSchema() : JDBCSessionDataStore.SessionTableSchema extracted from public newSessionDataStoreFactory() : SessionDataStoreFactory in class org.eclipse.jetty.server.session.JdbcTestHelper | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public getUpdateSessionStatement(connection Connection, id String, context SessionContext) : PreparedStatement extracted from private doUpdate(id String, data SessionData) : void in class org.eclipse.jetty.server.session.JDBCSessionDataStore & moved to class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To |