5645a31d868969d779289872f2702635073e13b5
Files Diff
- Added: 6
- Removed: 6
- Renamed: 0
- Modified: 30
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type restApiService : RestApiService to jerseyService : JerseyService in method public GracefulShutdown(serverStatus ServerStatus, activityWriter ActivityWriter, configuration Configuration, bufferSynchronizerService BufferSynchronizerService, periodicalsService PeriodicalsService, inputSetupService InputSetupService, jerseyService JerseyService, journalReader JournalReader) in class org.graylog2.system.shutdown.GracefulShutdown | From | To | |
Move Method | 3 | ||
Move Method public removeReceiver(streamid String, entity String, type String) : void from class org.graylog2.rest.resources.streams.alerts.StreamAlertReceiverResource to public removeReceiver(streamId String, entity String, type String) : void from class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Move Method public addReceiver(streamid String, entity String, type String) : Response from class org.graylog2.rest.resources.streams.alerts.StreamAlertReceiverResource to public addReceiver(streamId String, entity String, type String) : Response from class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Move Method public sendDummyAlert(streamid String) : Response from class org.graylog2.rest.resources.streams.alerts.StreamAlertReceiverResource to public sendDummyAlert(streamId String) : void from class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Change Return Type | 1 | ||
Change Return Type Response to void in method public sendDummyAlert(streamId String) : void in class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Move Attribute | 3 | ||
Move Attribute private alarmCallbackConfigurationService : AlarmCallbackConfigurationService from class org.graylog2.rest.resources.streams.alerts.StreamAlertReceiverResource to private alarmCallbackConfigurationService : AlarmCallbackConfigurationService from class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Move Attribute private alarmCallbackFactory : AlarmCallbackFactory from class org.graylog2.rest.resources.streams.alerts.StreamAlertReceiverResource to private alarmCallbackFactory : AlarmCallbackFactory from class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Move Attribute private emailAlarmCallback : EmailAlarmCallback from class org.graylog2.rest.resources.streams.alerts.StreamAlertReceiverResource to private emailAlarmCallback : EmailAlarmCallback from class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Rename Class | 1 | ||
Rename Class org.graylog2.shared.initializers.RestApiService renamed to org.graylog2.shared.initializers.JerseyService | From | To | |
Rename Attribute | 1 | ||
Rename Attribute restApiService : RestApiService to jerseyService : JerseyService in class org.graylog2.system.shutdown.GracefulShutdown | From | To | |
Change Variable Type | 1 | ||
Change Variable Type plugin : Optional<Plugin> to plugin : Plugin in method public get(request Request, pluginName String, filename String) : Response in class org.graylog2.web.resources.WebInterfaceAssetsResource | From | To | |
Extract Method | 1 | ||
Extract Method private shutdownHttpServer(httpServer HttpServer, listenUri URI) : void extracted from protected shutDown() : void in class org.graylog2.shared.initializers.JerseyService | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type restApiService : RestApiService to jerseyService : JerseyService in class org.graylog2.system.shutdown.GracefulShutdown | From | To | |
Change Attribute Type configuration : BaseConfiguration to configuration : Configuration in class org.graylog2.shared.initializers.JerseyService | From | To | |
Rename Parameter | 7 | ||
Rename Parameter streamid : String to streamId : String in method public list(streamId String, sinceTs int) : AlertListSummary in class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Rename Parameter streamid : String to streamId : String in method public checkConditions(streamId String) : Map<String,Object> in class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Rename Parameter restApiService : RestApiService to jerseyService : JerseyService in method public GracefulShutdown(serverStatus ServerStatus, activityWriter ActivityWriter, configuration Configuration, bufferSynchronizerService BufferSynchronizerService, periodicalsService PeriodicalsService, inputSetupService InputSetupService, jerseyService JerseyService, journalReader JournalReader) in class org.graylog2.system.shutdown.GracefulShutdown | From | To | |
Rename Parameter streamid : String to streamId : String in method public listPaginated(streamId String, skip int, limit int) : AlertListSummary in class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Rename Parameter streamid : String to streamId : String in method public removeReceiver(streamId String, entity String, type String) : void in class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Rename Parameter streamid : String to streamId : String in method public sendDummyAlert(streamId String) : void in class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To | |
Rename Parameter streamid : String to streamId : String in method public addReceiver(streamId String, entity String, type String) : Response in class org.graylog2.rest.resources.streams.alerts.StreamAlertResource | From | To |