a1909a83a1cf6b921d2ea07405a8ecb5ff7c8e59
Files Diff
- Added: 23
- Removed: 14
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public createServer(maxThreads int, minThreads int, threadTimeoutMillis int) : Server renamed to public create(maxThreads int, minThreads int, threadTimeoutMillis int) : Server in class spark.webserver.jetty.JettyServerFactory | From | To | |
Rename Method public stop() : void renamed to public extinguish() : void in class spark.webserver.jetty.EmbeddedJettyServer | From | To | |
Rename Method public stop() : void renamed to public extinguish() : void in class spark.webserver.EmbeddedServer | From | To | |
Change Return Type | 1 | ||
Change Return Type SparkServer to EmbeddedServer in method public create(hasMultipleHandler boolean) : EmbeddedServer in class spark.webserver.jetty.EmbeddedJettyFactory | From | To | |
Move And Rename Class | 3 | ||
Move And Rename Class spark.webserver.JettySparkServer moved and renamed to spark.webserver.jetty.EmbeddedJettyServer | From | To | |
Move And Rename Class spark.SparkServer moved and renamed to spark.webserver.EmbeddedServer | From | To | |
Move And Rename Class spark.webserver.SparkServerFactory moved and renamed to spark.webserver.jetty.EmbeddedJettyFactory | From | To | |
Move Class | 10 | ||
Move Class spark.webserver.websocket.WebSocketCreatorFactoryTest moved to spark.webserver.jetty.websocket.WebSocketCreatorFactoryTest | From | To | |
Move Class spark.webserver.websocket.WebSocketServletContextHandlerFactoryTest moved to spark.webserver.jetty.websocket.WebSocketServletContextHandlerFactoryTest | From | To | |
Move Class spark.webserver.ResponseWrapper moved to spark.webserver.matching.ResponseWrapper | From | To | |
Move Class spark.webserver.JettyHandler moved to spark.webserver.jetty.JettyHandler | From | To | |
Move Class spark.websocket.WebSocketTestClient moved to spark.webserver.jetty.websocket.WebSocketTestClient | From | To | |
Move Class spark.webserver.MatcherFilter moved to spark.webserver.matching.MatcherFilter | From | To | |
Move Class spark.webserver.websocket.WebSocketCreatorFactory moved to spark.webserver.jetty.websocket.WebSocketCreatorFactory | From | To | |
Move Class spark.webserver.websocket.WebSocketServletContextHandlerFactory moved to spark.webserver.jetty.websocket.WebSocketServletContextHandlerFactory | From | To | |
Move Class spark.websocket.WebSocketTestHandler moved to spark.webserver.jetty.websocket.WebSocketTestHandler | From | To | |
Move Class spark.webserver.RequestWrapper moved to spark.webserver.matching.RequestWrapper | From | To | |
Rename Attribute | 1 | ||
Rename Attribute isServletContext : boolean to externalContainer : boolean in class spark.webserver.matching.MatcherFilter | From | To | |
Extract Method | 1 | ||
Extract Method private getHttpMethodFrom(httpRequest HttpServletRequest) : String extracted from public doFilter(servletRequest ServletRequest, servletResponse ServletResponse, chain FilterChain) : void in class spark.webserver.matching.MatcherFilter | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type server : SparkServer to server : EmbeddedServer in class spark.SparkInstance | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method package create() : ResponseWrapper extracted from public doFilter(servletRequest ServletRequest, servletResponse ServletResponse, chain FilterChain) : void in class spark.webserver.MatcherFilter & moved to class spark.webserver.matching.ResponseWrapper | From | To | |
Extract And Move Method package create() : RequestWrapper extracted from public doFilter(servletRequest ServletRequest, servletResponse ServletResponse, chain FilterChain) : void in class spark.webserver.MatcherFilter & moved to class spark.webserver.matching.RequestWrapper | From | To | |
Rename Parameter | 2 | ||
Rename Parameter filterConfig : FilterConfig to config : FilterConfig in method public init(config FilterConfig) : void in class spark.webserver.matching.MatcherFilter | From | To | |
Rename Parameter isServletContext : boolean to externalContainer : boolean in method public MatcherFilter(routeMatcher SimpleRouteMatcher, externalContainer boolean, hasOtherHandlers boolean) in class spark.webserver.matching.MatcherFilter | From | To |