26ac828ed5b9e33bf51494c5193637f8169cf05f
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type uriPatterns : List<String> to uriPatterns : List<UriPatternMatcher> in method private ServletKeyBindingBuilderImpl(uriPatterns List<UriPatternMatcher>) in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl | From | To | |
| Change Parameter Type uriPatterns : List<String> to uriPatterns : List<UriPatternMatcher> in method private FilterKeyBindingBuilderImpl(uriPatterns List<UriPatternMatcher>) in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl | From | To | |
| Rename Variable | 8 | ||
| Rename Variable servletRequest : HttpServletRequest to mock : HttpServletRequest in method private getContextRelativePath(contextPath String, requestPath String) : String in class com.google.inject.servlet.ServletUtilsTest | From | To | |
| Rename Variable path : String to contextRelativePath : String in method private getContextRelativePath(contextPath String, requestPath String) : String in class com.google.inject.servlet.ServletUtilsTest | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute pattern : String to literal : String in class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type pattern : String to pattern : UriPatternMatcher in method private through(filterKey Key<? extends Filter>, initParams Map<String,String>, filterInstance Filter) : void in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl | From | To | |
| Change Variable Type pattern : String to pattern : UriPatternMatcher in method private with(servletKey Key<? extends HttpServlet>, initParams Map<String,String>, servletInstance HttpServlet) : void in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl | From | To | |
| Extract Method | 4 | ||
| Extract Method private getContextRelativePath(contextPath String, requestPath String) : String extracted from public testGetContextRelativePath() : void in class com.google.inject.servlet.ServletUtilsTest | From | To | |
| Extract Method private getContextRelativePath(contextPath String, requestPath String) : String extracted from public testGetContextRelativePathWithRootPath() : void in class com.google.inject.servlet.ServletUtilsTest | From | To | |
| Extract Method private getContextRelativePath(contextPath String, requestPath String) : String extracted from public testGetContextRelativePathWithEmptyPath() : void in class com.google.inject.servlet.ServletUtilsTest | From | To | |
| Extract Method private getContextRelativePath(contextPath String, requestPath String) : String extracted from public testGetContextRelativePathWithWrongPath() : void in class com.google.inject.servlet.ServletUtilsTest | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type uriPatterns : List<String> to uriPatterns : List<UriPatternMatcher> in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl | From | To | |
| Change Attribute Type uriPatterns : List<String> to uriPatterns : List<UriPatternMatcher> in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl | From | To |