50a29c569f8448a939877de1918ab3ff937366b8
Files Diff
- Added: 7
- Removed: 4
- Renamed: 0
- Modified: 47
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method private writeStatistics(json JsonWriter) : void renamed to private writeStatisticsToJson(json JsonWriter) : void in class org.sonar.server.platform.ws.InfoAction | From | To | |
Rename Method private writeGlobal(json JsonWriter) : void renamed to private writeGlobalSections(json JsonWriter) : void in class org.sonar.server.platform.ws.ClusterInfoAction | From | To | |
Rename Method public handle(request Request, response Response) : void renamed to protected doHandle(request Request, response Response) : void in class org.sonar.server.platform.ws.InfoAction | From | To | |
Pull Up Method | 7 | ||
Pull Up Method public handle(request Request, response Response) : void from class org.sonar.server.platform.ws.ClusterInfoAction to public handle(request Request, response Response) : void from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Method private sectionToJson(section ProtobufSystemInfo.Section, json JsonWriter) : void from class org.sonar.server.platform.ws.InfoAction to protected writeSectionToJson(section ProtobufSystemInfo.Section, json JsonWriter) : void from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Method public define(controller WebService.NewController) : void from class org.sonar.server.platform.ws.InfoAction to public define(controller WebService.NewController) : void from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Method private sectionToJson(section ProtobufSystemInfo.Section, json JsonWriter) : void from class org.sonar.server.platform.ws.ClusterInfoAction to protected writeSectionToJson(section ProtobufSystemInfo.Section, json JsonWriter) : void from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Method private attributeToJson(json JsonWriter, attribute ProtobufSystemInfo.Attribute) : void from class org.sonar.server.platform.ws.ClusterInfoAction to protected writeAttributeToJson(attribute ProtobufSystemInfo.Attribute, json JsonWriter) : void from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Method public define(controller WebService.NewController) : void from class org.sonar.server.platform.ws.ClusterInfoAction to public define(controller WebService.NewController) : void from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Method private attributeToJson(json JsonWriter, attribute ProtobufSystemInfo.Attribute) : void from class org.sonar.server.platform.ws.InfoAction to protected writeAttributeToJson(attribute ProtobufSystemInfo.Attribute, json JsonWriter) : void from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private userSession : UserSession from class org.sonar.server.platform.ws.ClusterInfoAction to private userSession : UserSession from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Attribute private userSession : UserSession from class org.sonar.server.platform.ws.InfoAction to private userSession : UserSession from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Pull Up Attribute private ORDERED_SECTION_NAMES : String[] from class org.sonar.server.platform.ws.InfoAction to private ORDERED_SECTION_NAMES : String[] from class org.sonar.server.platform.ws.BaseInfoWsAction | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.sonar.server.platform.ws.BaseInfoWsAction from classes [org.sonar.server.platform.ws.ClusterInfoAction, org.sonar.server.platform.ws.InfoAction] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute networkUtils : NetworkUtils to network : NetworkUtils in class org.sonar.server.cluster.StartableHazelcastMember | From | To | |
Extract Method | 1 | ||
Extract Method public toProtobuf(stats NodeStats, protobuf ProtobufSystemInfo.Section.Builder) : void extracted from private completeNodeAttributes(protobuf ProtobufSystemInfo.Section.Builder) : void in class org.sonar.server.platform.monitoring.EsStateSection | From | To | |
Rename Parameter | 1 | ||
Rename Parameter networkUtils : NetworkUtils to network : NetworkUtils in method public StartableHazelcastMember(config Configuration, network NetworkUtils) in class org.sonar.server.cluster.StartableHazelcastMember | From | To |