1f3097ff162ea4198f9979fed09b19ef49f69572
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 40
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getEnhancedInstantiator() : DecoratedObjectFactory renamed to public getObjectFactory() : DecoratedObjectFactory in class org.eclipse.jetty.websocket.server.WebSocketServerFactory | From | To | |
Pull Up Method | 4 | ||
Pull Up Method public getNegotiatedExtensions(installed List<Extension>, requested List<Extension>) : List<Extension> from class org.eclipse.jetty.websocket.jsr356.server.BasicServerEndpointConfigurator to public getNegotiatedExtensions(installed List<Extension>, requested List<Extension>) : List<Extension> from class org.eclipse.jetty.websocket.jsr356.server.ContainerDefaultConfigurator | From | To | |
Pull Up Method public checkOrigin(originHeaderValue String) : boolean from class org.eclipse.jetty.websocket.jsr356.server.BasicServerEndpointConfigurator to public checkOrigin(originHeaderValue String) : boolean from class org.eclipse.jetty.websocket.jsr356.server.ContainerDefaultConfigurator | From | To | |
Pull Up Method public getNegotiatedSubprotocol(supported List<String>, requested List<String>) : String from class org.eclipse.jetty.websocket.jsr356.server.BasicServerEndpointConfigurator to public getNegotiatedSubprotocol(supported List<String>, requested List<String>) : String from class org.eclipse.jetty.websocket.jsr356.server.ContainerDefaultConfigurator | From | To | |
Pull Up Method public modifyHandshake(sec ServerEndpointConfig, request HandshakeRequest, response HandshakeResponse) : void from class org.eclipse.jetty.websocket.jsr356.server.BasicServerEndpointConfigurator to public modifyHandshake(sec ServerEndpointConfig, request HandshakeRequest, response HandshakeResponse) : void from class org.eclipse.jetty.websocket.jsr356.server.ContainerDefaultConfigurator | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type policy : WebSocketPolicy to container : WebSocketContainerScope in method public WebSocketExtensionFactory(container WebSocketContainerScope) in class org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private NO_SUBPROTOCOL : String from class org.eclipse.jetty.websocket.jsr356.server.BasicServerEndpointConfigurator to private NO_SUBPROTOCOL : String from class org.eclipse.jetty.websocket.jsr356.server.ContainerDefaultConfigurator | From | To | |
Move Attribute | 1 | ||
Move Attribute private objectFactory : DecoratedObjectFactory from class org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory to private objectFactory : DecoratedObjectFactory from class org.eclipse.jetty.websocket.client.WebSocketClient | From | To | |
Merge Variable | 1 | ||
Merge Variable [policy : WebSocketPolicy, bufferPool : ByteBufferPool] to container : WebSocketContainerScope in method public ExtensionTool(policy WebSocketPolicy, bufferPool ByteBufferPool) in class org.eclipse.jetty.websocket.common.extensions.ExtensionTool | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.eclipse.jetty.websocket.jsr356.server.ContainerDefaultConfigurator from classes [org.eclipse.jetty.websocket.jsr356.server.BasicServerEndpointConfigurator] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute objectFactory : DecoratedObjectFactory to containerScope : WebSocketContainerScope in class org.eclipse.jetty.websocket.jsr356.server.JsrCreator | From | To | |
Rename Attribute policy : WebSocketPolicy to container : WebSocketContainerScope in class org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory | From | To | |
Extract Interface | 1 | ||
Extract Interface org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope from classes [org.eclipse.jetty.websocket.client.WebSocketClient, org.eclipse.jetty.websocket.server.WebSocketServerFactory] | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type policy : WebSocketPolicy to container : WebSocketContainerScope in class org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory | From | To | |
Change Attribute Type objectFactory : DecoratedObjectFactory to containerScope : WebSocketContainerScope in class org.eclipse.jetty.websocket.jsr356.server.JsrCreator | From | To | |
Rename Parameter | 1 | ||
Rename Parameter policy : WebSocketPolicy to container : WebSocketContainerScope in method public WebSocketExtensionFactory(container WebSocketContainerScope) in class org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory | From | To |