26169491c9c6bf5a00cca26a357c962691548ff8
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 2 | ||
Move And Rename Method private newRFC6265SetCookie(name String, value String, domain String, path String, maxAge long, isSecure boolean, isHttpOnly boolean) : String from class org.eclipse.jetty.server.Response to public getRFC6265SetCookie() : String from class org.eclipse.jetty.http.HttpCookie | From | To | |
Move And Rename Method private newRFC2965SetCookie(name String, value String, domain String, path String, maxAge long, comment String, isSecure boolean, isHttpOnly boolean, version int) : String from class org.eclipse.jetty.server.Response to public getRFC2965SetCookie() : String from class org.eclipse.jetty.http.HttpCookie | From | To | |
Move Method | 4 | ||
Move Method public testSetRFC2965Cookie() : void from class org.eclipse.jetty.server.ResponseTest to public testSetRFC2965Cookie() : void from class org.eclipse.jetty.http.HttpCookieTest | From | To | |
Move Method private quoteOnlyOrAppend(buf StringBuilder, s String, quote boolean) : void from class org.eclipse.jetty.server.Response to private quoteOnlyOrAppend(buf StringBuilder, s String, quote boolean) : void from class org.eclipse.jetty.http.HttpCookie | From | To | |
Move Method private isQuoteNeededForCookie(s String) : boolean from class org.eclipse.jetty.server.Response to private isQuoteNeededForCookie(s String) : boolean from class org.eclipse.jetty.http.HttpCookie | From | To | |
Move Method public testSetRFC6265Cookie() : void from class org.eclipse.jetty.server.ResponseTest to public testSetRFC6265Cookie() : void from class org.eclipse.jetty.http.HttpCookieTest | From | To | |
Rename Variable | 2 | ||
Rename Variable responseCookieCompliance : CookieCompliance to compliance : CookieCompliance in method public replaceCookie(cookie HttpCookie) : void in class org.eclipse.jetty.server.Response | From | To | |
Rename Variable domain : String to oldCookie : HttpCookie in method public replaceCookie(cookie HttpCookie) : void in class org.eclipse.jetty.server.Response | From | To | |
Inline Method | 1 | ||
Inline Method public addSetRFC6265Cookie(name String, value String, domain String, path String, maxAge long, isSecure boolean, isHttpOnly boolean) : void inlined to public addCookie(cookie HttpCookie) : void in class org.eclipse.jetty.server.Response | From | To | |
Move Attribute | 2 | ||
Move Attribute private __COOKIE_DELIM : String from class org.eclipse.jetty.server.Response to private __COOKIE_DELIM : String from class org.eclipse.jetty.http.HttpCookie | From | To | |
Move Attribute private __01Jan1970_COOKIE : String from class org.eclipse.jetty.server.Response to private __01Jan1970_COOKIE : String from class org.eclipse.jetty.http.HttpCookie | From | To | |
Extract Class | 1 | ||
Extract Class org.eclipse.jetty.http.HttpCookieTest from class org.eclipse.jetty.server.ResponseTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type domain : String to oldCookie : HttpCookie in method public replaceCookie(cookie HttpCookie) : void in class org.eclipse.jetty.server.Response | From | To |