a1de9e8b6fcf62e20516605fa9120e5ab1379e1f
Files Diff
- Added: 7
- Removed: 5
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 3 | ||
Change Return Type String to MetricsSummaryResponse in method public multipleMetrics(request MetricsReadRequest) : MetricsSummaryResponse in class org.graylog2.shared.rest.resources.system.MetricsResource | From | To | |
Change Return Type String to MetricsSummaryResponse in method public byNamespace(namespace String) : MetricsSummaryResponse in class org.graylog2.shared.rest.resources.system.MetricsResource | From | To | |
Change Return Type String to MetricNamesResponse in method public metricNames() : MetricNamesResponse in class org.graylog2.shared.rest.resources.system.MetricsResource | From | To | |
Rename Class | 1 | ||
Rename Class org.graylog2.shared.rest.resources.system.PluginResource renamed to org.graylog2.shared.rest.resources.system.SystemPluginResource | From | To | |
Move Class | 4 | ||
Move Class org.graylog2.rest.resources.system.requests.MetricsReadRequest moved to org.graylog2.rest.models.system.metrics.requests.MetricsReadRequest | From | To | |
Move Class org.graylog2.rest.resources.system.MetricsResource.MetricType moved to org.graylog2.rest.resources.system.MetricsHistoryResource.MetricType | From | To | |
Move Class org.graylog2.radio.rest.resources.system.MetricsResource moved to org.graylog2.shared.rest.resources.system.MetricsResource | From | To | |
Move Class org.graylog2.metrics.MetricUtils moved to org.graylog2.shared.metrics.MetricUtils | From | To | |
Extract Variable | 2 | ||
Extract Variable msg : String in method public byNamespace(namespace String) : MetricsSummaryResponse from class org.graylog2.shared.rest.resources.system.MetricsResource | From | To | |
Extract Variable msg : String in method public singleMetric(metricName String) : Metric from class org.graylog2.shared.rest.resources.system.MetricsResource | From | To |