01b51fda40f8cba8309558ed15e57cdd140842f0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public metricNames() : MetricNamesResponse renamed to public byNamespace(nodeId String, namespace String, httpHeaders HttpHeaders) : MetricsSummaryResponse in class org.graylog2.rest.resources.cluster.ClusterMetricsResource | From | To | |
Rename Method public byNamespace(namespace String) : MetricsSummaryResponse renamed to public metricNames(nodeId String, httpHeaders HttpHeaders) : MetricNamesResponse in class org.graylog2.rest.resources.cluster.ClusterMetricsResource | From | To | |
Rename Method public ClusterMetricsResource(nodeId String, nodeService NodeService, remoteInterfaceProvider RemoteInterfaceProvider, httpHeaders HttpHeaders) renamed to private getResourceForNode(nodeId String, httpHeaders HttpHeaders) : RemoteMetricsResource in class org.graylog2.rest.resources.cluster.ClusterMetricsResource | From | To | |
Change Return Type | 2 | ||
Change Return Type MetricsSummaryResponse to MetricNamesResponse in method public metricNames(nodeId String, httpHeaders HttpHeaders) : MetricNamesResponse in class org.graylog2.rest.resources.cluster.ClusterMetricsResource | From | To | |
Change Return Type MetricNamesResponse to MetricsSummaryResponse in method public byNamespace(nodeId String, namespace String, httpHeaders HttpHeaders) : MetricsSummaryResponse in class org.graylog2.rest.resources.cluster.ClusterMetricsResource | From | To | |
Change Variable Type | 2 | ||
Change Variable Type result : Response<MetricsSummaryResponse> to result : Response<MetricNamesResponse> in method public metricNames(nodeId String, httpHeaders HttpHeaders) : MetricNamesResponse in class org.graylog2.rest.resources.cluster.ClusterMetricsResource | From | To | |
Change Variable Type result : Response<MetricNamesResponse> to result : Response<MetricsSummaryResponse> in method public byNamespace(nodeId String, namespace String, httpHeaders HttpHeaders) : MetricsSummaryResponse in class org.graylog2.rest.resources.cluster.ClusterMetricsResource | From | To | |
Rename Parameter | 1 | ||
Rename Parameter namespace : String to nodeId : String in method public metricNames(nodeId String, httpHeaders HttpHeaders) : MetricNamesResponse in class org.graylog2.rest.resources.cluster.ClusterMetricsResource | From | To |