3924af47370bff86132e15746d51075d018ab341
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected getWebSocketHandler(requestUri String) : WebSocketHandler renamed to protected findWebSocketRoute(requestUri String) : WebSocketRouter.WebSocketMatch in class ro.pippo.core.websocket.AbstractWebSocketFilter | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type compiledRoute : Route to binding : UriPatternBinding in method private getParameters(binding UriPatternBinding, requestUri String) : Map<String,String> in class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Method | 6 | ||
Move Method private getPathParameterRegexGroupName(pathParameterIndex int) : String from class ro.pippo.core.route.DefaultRouter to private getPathParameterRegexGroupName(pathParameterIndex int) : String from class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Method private getParameterNames(uriPattern String) : List<String> from class ro.pippo.core.route.DefaultRouter to private getParameterNames(uriPattern String) : List<String> from class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Method private uriFor(compiledRoute Route, parameters Map<String,Object>) : String from class ro.pippo.core.route.DefaultRouter to public uriFor(parameters Map<String,Object>, uriPattern String) : String from class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Method private replacePosixClasses(input String) : String from class ro.pippo.core.route.DefaultRouter to private replacePosixClasses(input String) : String from class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Method private getRegex(urlPattern String) : String from class ro.pippo.core.route.DefaultRouter to private getRegex(urlPattern String) : String from class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Method private getParameters(compiledRoute Route, requestUri String) : Map<String,String> from class ro.pippo.core.route.DefaultRouter to private getParameters(binding UriPatternBinding, requestUri String) : Map<String,String> from class ro.pippo.core.DefaultUriMatcher | From | To | |
Change Return Type | 1 | ||
Change Return Type WebSocketHandler to WebSocketRouter.WebSocketMatch in method protected findWebSocketRoute(requestUri String) : WebSocketRouter.WebSocketMatch in class ro.pippo.core.websocket.AbstractWebSocketFilter | From | To | |
Move Attribute | 4 | ||
Move Attribute private PATH_PARAMETER_REGEX_GROUP_NAME_PREFIX : String from class ro.pippo.core.route.DefaultRouter to private PATH_PARAMETER_REGEX_GROUP_NAME_PREFIX : String from class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Attribute private VARIABLE_PART_PATTERN_WITH_PLACEHOLDER : String from class ro.pippo.core.route.DefaultRouter to private VARIABLE_PART_PATTERN_WITH_PLACEHOLDER : String from class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Attribute private VARIABLE_ROUTES_DEFAULT_REGEX : String from class ro.pippo.core.route.DefaultRouter to private VARIABLE_ROUTES_DEFAULT_REGEX : String from class ro.pippo.core.DefaultUriMatcher | From | To | |
Move Attribute private PATTERN_FOR_VARIABLE_PARTS_OF_ROUTE : Pattern from class ro.pippo.core.route.DefaultRouter to private PATTERN_FOR_VARIABLE_PARTS_OF_ROUTE : Pattern from class ro.pippo.core.DefaultUriMatcher | From | To | |
Extract Class | 1 | ||
Extract Class ro.pippo.core.DefaultUriMatcher from class ro.pippo.core.route.DefaultRouter | From | To | |
Rename Parameter | 2 | ||
Rename Parameter path : String to uriPattern : String in method public addWebSocket(uriPattern String, webSocketHandler WebSocketHandler) : void in class ro.pippo.core.Application | From | To | |
Rename Parameter compiledRoute : Route to binding : UriPatternBinding in method private getParameters(binding UriPatternBinding, requestUri String) : Map<String,String> in class ro.pippo.core.DefaultUriMatcher | From | To |