360fec613c2201f5414bc8824c17c7bc9d72a004
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type outputs : Collection<Output> to outputs : Collection<OutputSummary> in method public create(total long, outputs Collection<OutputSummary>) : OutputListResponse in class org.graylog2.rest.resources.streams.outputs.OutputListResponse | From | To | |
Change Parameter Type outputs : Set<Output> to outputs : Set<OutputSummary> in method public filterPasswordFields(outputs Set<OutputSummary>) : Set<OutputSummary> in class org.graylog2.rest.helpers.OutputFilter | From | To | |
Change Parameter Type output : Output to output : OutputSummary in method public filterPasswordFields(output OutputSummary) : OutputSummary in class org.graylog2.rest.helpers.OutputFilter | From | To | |
Move Method | 2 | ||
Move Method private filterPasswordFields(outputs Set<Output>) : Set<Map<String,Object>> from class org.graylog2.rest.resources.system.outputs.OutputResource to public filterPasswordFields(outputs Set<OutputSummary>) : Set<OutputSummary> from class org.graylog2.rest.helpers.OutputFilter | From | To | |
Move Method private filterPasswordFields(output Output) : Map<String,Object> from class org.graylog2.rest.resources.system.outputs.OutputResource to public filterPasswordFields(output OutputSummary) : OutputSummary from class org.graylog2.rest.helpers.OutputFilter | From | To | |
Change Return Type | 6 | ||
Change Return Type Output to OutputSummary in method public get(streamid String, outputId String) : OutputSummary in class org.graylog2.rest.resources.streams.outputs.StreamOutputResource | From | To | |
Change Return Type Map<String,Object> to OutputSummary in method public get(outputId String) : OutputSummary in class org.graylog2.rest.resources.system.outputs.OutputResource | From | To | |
Change Return Type Map<String,Object> to OutputListResponse in method public get() : OutputListResponse in class org.graylog2.rest.resources.system.outputs.OutputResource | From | To | |
Change Return Type Collection<Output> to Collection<OutputSummary> in method public abstract outputs() : Collection<OutputSummary> in class org.graylog2.rest.resources.streams.outputs.OutputListResponse | From | To | |
Change Return Type Map<String,Object> to OutputSummary in method public filterPasswordFields(output OutputSummary) : OutputSummary in class org.graylog2.rest.helpers.OutputFilter | From | To | |
Change Return Type Set<Map<String,Object>> to Set<OutputSummary> in method public filterPasswordFields(outputs Set<OutputSummary>) : Set<OutputSummary> in class org.graylog2.rest.helpers.OutputFilter | From | To | |
Move Attribute | 1 | ||
Move Attribute private PASSWORD_ATTRIBUTE : String from class org.graylog2.rest.resources.system.outputs.OutputResource to private PASSWORD_ATTRIBUTE : String from class org.graylog2.rest.helpers.OutputFilter | From | To | |
Extract Class | 1 | ||
Extract Class org.graylog2.rest.helpers.OutputFilter from class org.graylog2.rest.resources.system.outputs.OutputResource | From | To |