f4504ffded1a28a8757552789e7e382dbbcf3c10
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 39
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public testValidSessionIdRemoval() : void renamed to public testUnrestorableFileRemoval() : void in class org.eclipse.jetty.server.session.FileSessionManagerTest | From | To | |
Rename Method private getFileName(id String) : String renamed to private getIdWithContext(id String) : String in class org.eclipse.jetty.server.session.FileSessionDataStore | From | To | |
Rename Method private getFileNameWithExpiry(data SessionData) : String renamed to private getIdWithContextAndExpiry(data SessionData) : String in class org.eclipse.jetty.server.session.FileSessionDataStore | From | To | |
Extract Variable | 1 | ||
Extract Variable targetFile : File in method public testDangerousSessionIdRemoval() : void from class org.eclipse.jetty.server.session.FileSessionManagerTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type e : NumberFormatException to e : Exception in method public doGetExpired(candidates Set<String>) : Set<String> in class org.eclipse.jetty.server.session.FileSessionDataStore | From | To | |
Extract Method | 4 | ||
Extract Method private deleteOldFiles(storeDir File, idWithContext String) : File extracted from public doGetExpired(candidates Set<String>) : Set<String> in class org.eclipse.jetty.server.session.FileSessionDataStore | From | To | |
Extract Method private deleteOldFiles(storeDir File, idWithContext String) : File extracted from public load(id String) : SessionData in class org.eclipse.jetty.server.session.FileSessionDataStore | From | To | |
Extract Method private getExpiryFromString(filename String) : long extracted from private getExpiryFromFile(file File) : long in class org.eclipse.jetty.server.session.FileSessionDataStore | From | To | |
Extract Method private deleteAllFiles(storeDir File, idInContext String) : void extracted from public doStore(id String, data SessionData, lastSaveTime long) : void in class org.eclipse.jetty.server.session.FileSessionDataStore | From | To |