2d6fc70a70eb2d816e599073054a63cd3069060f
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 1 | ||
Change Return Type String to R in method public getNonce(supplier T, key String) : R in class org.apache.catalina.filters.RestCsrfPreventionFilter.NonceSupplier | From | To | |
Rename Attribute | 1 | ||
Rename Attribute nonceFromRequest : NonceSupplier<HttpServletRequest> to nonceFromRequestHeader : NonceSupplier<HttpServletRequest,String> in class org.apache.catalina.filters.RestCsrfPreventionFilter.RestCsrfPreventionStrategy | From | To | |
Extract Method | 1 | ||
Extract Method private setRequestExpectations(method String, session HttpSession, headerValue String, paramValues String[], servletPath String) : void extracted from private setRequestExpectations(method String, session HttpSession, headerValue String) : void in class org.apache.catalina.filters.TestRestCsrfPreventionFilter | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type nonceFromSession : NonceSupplier<HttpSession> to nonceFromSession : NonceSupplier<HttpSession,String> in class org.apache.catalina.filters.RestCsrfPreventionFilter.RestCsrfPreventionStrategy | From | To | |
Change Attribute Type nonceFromRequest : NonceSupplier<HttpServletRequest> to nonceFromRequestHeader : NonceSupplier<HttpServletRequest,String> in class org.apache.catalina.filters.RestCsrfPreventionFilter.RestCsrfPreventionStrategy | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method protected getRequestedPath(request HttpServletRequest) : String extracted from public doFilter(request ServletRequest, response ServletResponse, chain FilterChain) : void in class org.apache.catalina.filters.CsrfPreventionFilter & moved to class org.apache.catalina.filters.CsrfPreventionFilterBase | From | To |