bf2b6872c9d422a5bd0cd95a32f0e55f2fa1d4a3
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type errorJson : JSONArray to json : JSONObject in method public readErrors(errors List<Throwable>, json JSONObject) : void in class com.graphhopper.http.GraphHopperWeb | From | To | |
Inline Method | 3 | ||
Inline Method package writeInfos(req HttpServletRequest, res HttpServletResponse) : void inlined to public doGet(req HttpServletRequest, res HttpServletResponse) : void in class com.graphhopper.http.InfoServlet | From | To | |
Inline Method package writeNearest(req HttpServletRequest, res HttpServletResponse) : void inlined to public doGet(httpReq HttpServletRequest, httpRes HttpServletResponse) : void in class com.graphhopper.http.NearestServlet | From | To | |
Inline Method package writePath(httpReq HttpServletRequest, res HttpServletResponse) : void inlined to public doGet(httpReq HttpServletRequest, httpRes HttpServletResponse) : void in class com.graphhopper.http.GraphHopperServlet | From | To | |
Extract Variable | 1 | ||
Extract Variable xml : String in method public doGet(httpReq HttpServletRequest, httpRes HttpServletResponse) : void from class com.graphhopper.http.GraphHopperServlet | From | To | |
Extract Method | 1 | ||
Extract Method protected queryString(query String, code int) : String extracted from protected query(query String) : JSONObject in class com.graphhopper.http.BaseServletTester | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method protected writeJsonError(res HttpServletResponse, code int, json JSONObject) : void extracted from protected service(req HttpServletRequest, res HttpServletResponse) : void in class com.graphhopper.http.InvalidRequestServlet & moved to class com.graphhopper.http.GHBaseServlet | From | To | |
Rename Parameter | 9 | ||
Rename Parameter res : HttpServletResponse to httpRes : HttpServletResponse in method public doGet(httpReq HttpServletRequest, httpRes HttpServletResponse) : void in class com.graphhopper.http.NearestServlet | From | To | |
Rename Parameter str : String to message : String in method protected writeError(res HttpServletResponse, code int, message String) : void in class com.graphhopper.http.GHBaseServlet | From | To | |
Rename Parameter req : HttpServletRequest to httpReq : HttpServletRequest in method public doGet(httpReq HttpServletRequest, httpRes HttpServletResponse) : void in class com.graphhopper.http.GraphHopperServlet | From | To | |
Rename Parameter errorJson : JSONArray to json : JSONObject in method public readErrors(errors List<Throwable>, json JSONObject) : void in class com.graphhopper.http.GraphHopperWeb | From | To | |
Rename Parameter res : HttpServletResponse to httpRes : HttpServletResponse in method public doGet(httpReq HttpServletRequest, httpRes HttpServletResponse) : void in class com.graphhopper.http.GraphHopperServlet | From | To | |
Rename Parameter req : HttpServletRequest to httpReq : HttpServletRequest in method public doGet(httpReq HttpServletRequest, httpRes HttpServletResponse) : void in class com.graphhopper.http.NearestServlet | From | To |