b0748c58653420c30febcb97e0d0742ae158cb17
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 31
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public getUpdateSessionStatementAsString(key SessionKey) : String renamed to public getUpdateSessionStatement(connection Connection, canonicalContextPath String) : PreparedStatement in class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To | |
Rename Method public doPut(key SessionKey, session Session) : void renamed to public doPutIfAbsent(key SessionKey, session Session) : Session in class org.eclipse.jetty.server.session.MemorySessionStore | From | To | |
Rename Method public abstract doPut(key SessionKey, session Session) : void renamed to public abstract doPutIfAbsent(key SessionKey, session Session) : Session in class org.eclipse.jetty.server.session.AbstractSessionStore | From | To | |
Rename Variable | 1 | ||
Rename Variable deleted : boolean to dsdel : boolean in method public delete(key SessionKey) : boolean in class org.eclipse.jetty.server.session.AbstractSessionStore | From | To | |
Change Return Type | 5 | ||
Change Return Type void to Session in method public abstract doPutIfAbsent(key SessionKey, session Session) : Session in class org.eclipse.jetty.server.session.AbstractSessionStore | From | To | |
Change Return Type String to PreparedStatement in method public getUpdateSessionStatement(connection Connection, canonicalContextPath String) : PreparedStatement in class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To | |
Change Return Type void to Session in method public doDelete(key SessionKey) : Session in class org.eclipse.jetty.server.session.MemorySessionStore | From | To | |
Change Return Type void to Session in method public doPutIfAbsent(key SessionKey, session Session) : Session in class org.eclipse.jetty.server.session.MemorySessionStore | From | To | |
Change Return Type void to Session in method public abstract doDelete(key SessionKey) : Session in class org.eclipse.jetty.server.session.AbstractSessionStore | From | To | |
Rename Attribute | 1 | ||
Rename Attribute SAVE_INTERVAL : int to STALE_INTERVAL : int in class org.eclipse.jetty.server.session.JdbcTestServer | From | To | |
Extract Variable | 3 | ||
Extract Variable context2 : ServletContextHandler in method public testLocalSessionsScavenging() : void from class org.eclipse.jetty.server.session.AbstractLocalSessionScavengingTest | From | To | |
Extract Variable context1 : ServletContextHandler in method public testLocalSessionsScavenging() : void from class org.eclipse.jetty.server.session.AbstractLocalSessionScavengingTest | From | To | |
Extract Variable context : ServletContextHandler in method public testImmortalSession() : void from class org.eclipse.jetty.server.session.AbstractImmortalSessionTest | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public getSessions() : int extracted from public getSessions() : int in class org.eclipse.jetty.server.session.SessionManager & moved to class org.eclipse.jetty.server.session.AbstractSessionStore | From | To | |
Extract And Move Method public getSessionsTotal() : int extracted from public getSessionsTotal() : int in class org.eclipse.jetty.server.session.SessionManager & moved to class org.eclipse.jetty.server.session.AbstractSessionStore | From | To | |
Extract And Move Method public doDelete(key SessionKey) : Session extracted from public delete(key SessionKey) : boolean in class org.eclipse.jetty.server.session.AbstractSessionStore & moved to class org.eclipse.jetty.server.session.SessionCookieTest.MockSessionStore | From | To | |
Extract And Move Method public getMyExpiredSessionsStatement(connection Connection, canonicalContextPath String, vhost String, expiry long) : PreparedStatement extracted from public getExpired(candidates Set<SessionKey>) : Set<SessionKey> in class org.eclipse.jetty.server.session.JDBCSessionDataStore & moved to class org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema | From | To | |
Rename Parameter | 2 | ||
Rename Parameter created : long to time : long in method public newSession(request HttpServletRequest, key SessionKey, time long, maxInactiveMs long) : Session in class org.eclipse.jetty.server.session.SessionStore | From | To | |
Rename Parameter created : long to time : long in method public newSession(request HttpServletRequest, key SessionKey, time long, maxInactiveMs long) : Session in class org.eclipse.jetty.server.session.SessionCookieTest.MockSessionStore | From | To |