2d88fdf386d008994a71a095cbc672ecc7575552
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type etag : boolean to gzip : HttpContent in method public ResourceHttpContent(resource Resource, contentType String, maxBuffer int, gzip HttpContent) in class org.eclipse.jetty.http.ResourceHttpContent | From | To | |
Rename Variable | 2 | ||
Rename Variable close_content : boolean to release_content : boolean in method protected doGet(request HttpServletRequest, response HttpServletResponse) : void in class org.eclipse.jetty.servlet.DefaultServlet | From | To | |
Rename Variable welcome : String to gzip_content : HttpContent in method protected doGet(request HttpServletRequest, response HttpServletResponse) : void in class org.eclipse.jetty.servlet.DefaultServlet | From | To | |
Move Attribute | 2 | ||
Move Attribute public ETAG_GZIP : String from class org.eclipse.jetty.server.handler.gzip.GzipHandler to public ETAG_GZIP : String from class org.eclipse.jetty.http.GzipHttpContent | From | To | |
Move Attribute private CONTENT_ENCODING_GZIP : PreEncodedHttpField from class org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor to public CONTENT_ENCODING_GZIP : PreEncodedHttpField from class org.eclipse.jetty.http.GzipHttpContent | From | To | |
Rename Attribute | 1 | ||
Rename Attribute _etagSupported : boolean to _etags : boolean in class org.eclipse.jetty.server.ResourceCache | From | To | |
Change Variable Type | 2 | ||
Change Variable Type included : Boolean to included : boolean in method protected doGet(request HttpServletRequest, response HttpServletResponse) : void in class org.eclipse.jetty.servlet.DefaultServlet | From | To | |
Change Variable Type welcome : String to gzip_content : HttpContent in method protected doGet(request HttpServletRequest, response HttpServletResponse) : void in class org.eclipse.jetty.servlet.DefaultServlet | From | To | |
Extract Method | 3 | ||
Extract Method protected sendWelcome(content HttpContent, pathInContext String, endsWithSlash boolean, included boolean, request HttpServletRequest, response HttpServletResponse) : void extracted from protected doGet(request HttpServletRequest, response HttpServletResponse) : void in class org.eclipse.jetty.servlet.DefaultServlet | From | To | |
Extract Method public getContent(pathInContext String) : HttpContent extracted from public lookup(pathInContext String) : HttpContent in class org.eclipse.jetty.server.ResourceCache | From | To | |
Extract Method public getWeakETag(suffix String) : String extracted from public getWeakETag() : String in class org.eclipse.jetty.util.resource.Resource | From | To | |
Rename Parameter | 1 | ||
Rename Parameter etag : boolean to gzip : HttpContent in method public ResourceHttpContent(resource Resource, contentType String, maxBuffer int, gzip HttpContent) in class org.eclipse.jetty.http.ResourceHttpContent | From | To |