f5450d9188814c5e31a7475ec64b8ec8bcedca22
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 4 | ||
Pull Up Method public removeOpenSession(session Session) : void from class io.undertow.websockets.jsr.ConfiguredServerEndpoint to public removeOpenSession(session Session) : void from class io.undertow.websockets.jsr.SessionContainer | From | To | |
Pull Up Method public awaitClose(timeout long) : void from class io.undertow.websockets.jsr.ConfiguredServerEndpoint to public awaitClose(timeout long) : void from class io.undertow.websockets.jsr.SessionContainer | From | To | |
Pull Up Method public getOpenSessions() : Set<Session> from class io.undertow.websockets.jsr.ConfiguredServerEndpoint to public getOpenSessions() : Set<Session> from class io.undertow.websockets.jsr.SessionContainer | From | To | |
Pull Up Method public addOpenSession(session Session) : void from class io.undertow.websockets.jsr.ConfiguredServerEndpoint to public addOpenSession(session Session) : void from class io.undertow.websockets.jsr.SessionContainer | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type openSessions : Set<Session> to openSessions : SessionContainer in method package UndertowSession(webSocketChannel WebSocketChannel, requestUri URI, pathParameters Map<String,String>, requestParameterMap Map<String,List<String>>, handler EndpointSessionHandler, user Principal, endpoint InstanceHandle<Endpoint>, config EndpointConfig, queryString String, encoding Encoding, openSessions SessionContainer, subProtocol String, extensions List<Extension>, clientConnectionBuilder WebSocketClient.ConnectionBuilder) in class io.undertow.websockets.jsr.UndertowSession | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private openSessions : Set<Session> from class io.undertow.websockets.jsr.ConfiguredServerEndpoint to private openSessions : Set<Session> from class io.undertow.websockets.jsr.SessionContainer | From | To | |
Pull Up Attribute private waiterCount : int from class io.undertow.websockets.jsr.ConfiguredServerEndpoint to private waiterCount : int from class io.undertow.websockets.jsr.SessionContainer | From | To | |
Extract Superclass | 1 | ||
Extract Superclass io.undertow.websockets.jsr.SessionContainer from classes [io.undertow.websockets.jsr.ConfiguredClientEndpoint, io.undertow.websockets.jsr.ConfiguredServerEndpoint] | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type openSessions : Set<Session> to openSessions : SessionContainer in class io.undertow.websockets.jsr.UndertowSession | From | To | |
Extract Method | 1 | ||
Extract Method private doClose() : void extracted from public close() : void in class io.undertow.websockets.jsr.ServerWebSocketContainer | From | To |