26a735e5d99914db017a7d846fc1247f8997c50c
Files Diff
- Added: 38
- Removed: 14
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public evaluate_returns_result_for_valid_CEF_string_with_short_names_if_parameter_is_missing() : void renamed to public evaluate_returns_result_for_valid_CEF_string_with_short_names_if_useFullNames_parameter_is_missing() : void in class org.graylog.plugins.cef.pipelines.rules.CEFParserFunctionTest | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method public decode(rawMessage RawMessage) : Message from class org.graylog.plugins.cef.codec.CEFSyslogCodec to protected decodeCEF(rawMessage RawMessage, s String) : Message from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type cef : CEFMessage to cef : MappedMessage in method protected decideSource(cef MappedMessage, raw RawMessage) : String in class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Change Parameter Type cef : CEFMessage to cef : Message in method protected buildMessageSummary(cef Message) : String in class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Method | 5 | ||
| Move Method protected decideSource(cef CEFMessage, raw RawMessage) : String from class org.graylog.plugins.cef.codec.BaseCEFCodec to protected decideSource(cef MappedMessage, raw RawMessage) : String from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Method public getAggregator() : CodecAggregator from class org.graylog.plugins.cef.codec.BaseCEFCodec to public getAggregator() : CodecAggregator from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Method public getRequestedConfiguration() : ConfigurationRequest from class org.graylog.plugins.cef.codec.BaseCEFCodec.Config to public getRequestedConfiguration() : ConfigurationRequest from class org.graylog.plugins.cef.codec.CEFCodec.Config | From | To | |
| Move Method public getConfiguration() : Configuration from class org.graylog.plugins.cef.codec.BaseCEFCodec to public getConfiguration() : Configuration from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Method protected buildMessageSummary(cef CEFMessage) : String from class org.graylog.plugins.cef.codec.BaseCEFCodec to protected buildMessageSummary(cef Message) : String from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Change Return Type | 3 | ||
| Change Return Type DateTime to Object in method private convertTimestamp(s String) : Object in class org.graylog.plugins.cef.parser.CEFMapping | From | To | |
| Change Return Type Type to Integer in method private convertType(s String) : Integer in class org.graylog.plugins.cef.parser.CEFMapping | From | To | |
| Change Return Type Direction to Integer in method private convertDirection(s String) : Integer in class org.graylog.plugins.cef.parser.CEFMapping | From | To | |
| Move Attribute | 6 | ||
| Move Attribute package CK_TIMEZONE : String from class org.graylog.plugins.cef.codec.BaseCEFCodec to private CK_TIMEZONE : String from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Attribute package useFullNames : boolean from class org.graylog.plugins.cef.codec.BaseCEFCodec to private useFullNames : boolean from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Attribute private useFullNames : boolean from class org.graylog.plugins.cef.parser.CEFParser to private useFullNames : boolean from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Attribute package timezone : DateTimeZone from class org.graylog.plugins.cef.codec.BaseCEFCodec to private timezone : DateTimeZone from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Attribute protected configuration : Configuration from class org.graylog.plugins.cef.codec.BaseCEFCodec to private configuration : Configuration from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Move Attribute package CK_USE_FULL_NAMES : String from class org.graylog.plugins.cef.codec.BaseCEFCodec to private CK_USE_FULL_NAMES : String from class org.graylog.plugins.cef.codec.CEFCodec | From | To | |
| Rename Class | 1 | ||
| Rename Class org.graylog.plugins.cef.codec.BaseCEFCodecTest renamed to org.graylog.plugins.cef.codec.CEFCodecTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type message : CEFMessage to message : MappedMessage in method public evaluate(args FunctionArgs, context EvaluationContext) : CEFParserResult in class org.graylog.plugins.cef.pipelines.rules.CEFParserFunction | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type codec : BaseCEFCodec to codec : CEFCodec in class org.graylog.plugins.cef.codec.CEFCodecTest | From | To | |
| Extract Method | 1 | ||
| Extract Method protected decodeCEF(rawMessage RawMessage, s String) : Message extracted from public decode(rawMessage RawMessage) : Message in class org.graylog.plugins.cef.codec.CEFCodec | From | To |