aea766b8aed6f833bb8cfdbd4783fa55b5339b3f
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getParams() : Map renamed to public getParameters() : Map in class com.navercorp.pinpoint.web.websocket.message.RequestMessage | From | To | |
Rename Method public getParams() : Map renamed to public getParameters() : Map in class com.navercorp.pinpoint.web.websocket.message.SendMessage | From | To | |
Rename Variable | 3 | ||
Rename Variable webSocketSessionList : List<WebSocketSession> to snapshot : List<WebSocketSession> in method public run() : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler.HealthCheckTimerTask | From | To | |
Rename Variable request : Map<String,Object> to response : ResponseMessage in method public getResponseTextMessage(command String, result Map<String,Object>) : String in class com.navercorp.pinpoint.web.websocket.message.PinpointWebSocketMessageConverter | From | To | |
Rename Variable request : Map<String,Object> to message : SendMessage in method public getSendTextMessage(command String, params Map<String,Object>) : String in class com.navercorp.pinpoint.web.websocket.message.PinpointWebSocketMessageConverter | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable webSocketSessionList : List<WebSocketSession> to sessionRepository : List<WebSocketSession> in method private filterHealthCheckSuccess(sessionRepository List<WebSocketSession>) : List<WebSocketSession> in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler.HealthCheckTimerTask | From | To | |
Rename Attribute | 1 | ||
Rename Attribute params : Map to parameters : Map in class com.navercorp.pinpoint.web.websocket.message.RequestMessage | From | To | |
Change Variable Type | 2 | ||
Change Variable Type request : Map<String,Object> to message : SendMessage in method public getSendTextMessage(command String, params Map<String,Object>) : String in class com.navercorp.pinpoint.web.websocket.message.PinpointWebSocketMessageConverter | From | To | |
Change Variable Type request : Map<String,Object> to response : ResponseMessage in method public getResponseTextMessage(command String, result Map<String,Object>) : String in class com.navercorp.pinpoint.web.websocket.message.PinpointWebSocketMessageConverter | From | To | |
Extract Variable | 1 | ||
Extract Variable response : String in method private createWebSocketTextMessage(activeThreadCountList AgentActiveThreadCountList) : TextMessage from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseAggregator | From | To | |
Extract Method | 6 | ||
Extract Method private filterHealthCheckSuccess(sessionRepository List<WebSocketSession>) : List<WebSocketSession> extracted from public run() : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler.HealthCheckTimerTask | From | To | |
Extract Method private handleActiveThreadCount(webSocketSession WebSocketSession, requestMessage RequestMessage) : void extracted from private handleRequestMessage0(webSocketSession WebSocketSession, requestMessage RequestMessage) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Extract Method public newJavaTimer(timerName String) : Timer extracted from public start() : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Extract Method private parseMessage(message String) : PinpointWebSocketMessage extracted from public getWebSocketMessage(message String) : PinpointWebSocketMessage in class com.navercorp.pinpoint.web.websocket.message.PinpointWebSocketMessageConverter | From | To | |
Rename Parameter | 2 | ||
Rename Parameter params : Map to parameters : Map in method public RequestMessage(command String, parameters Map) in class com.navercorp.pinpoint.web.websocket.message.RequestMessage | From | To | |
Rename Parameter params : Map to parameters : Map in method public SendMessage(command String, parameters Map) in class com.navercorp.pinpoint.web.websocket.message.SendMessage | From | To |