ad4ae5d97beef70761f224049c63d82f825aa522
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 4 | ||
Move And Rename Method public createIndexMappingFailsIfElasticsearchIsUnavailable() : void from class org.graylog2.indexer.IndexMappingFactoryTest to public retrievingVersionFailsIfElasticsearchIsUnavailable() : void from class org.graylog2.indexer.cluster.NodeTest | From | To | |
Move And Rename Method public createIndexMappingFailsIfElasticsearchVersionIsInvalid() : void from class org.graylog2.indexer.IndexMappingFactoryTest to public retrievingVersionFailsIfElasticsearchVersionIsInvalid() : void from class org.graylog2.indexer.cluster.NodeTest | From | To | |
Move And Rename Method public createIndexMappingFailsIfElasticsearchResponseFailed() : void from class org.graylog2.indexer.IndexMappingFactoryTest to public retrievingVersionFailsIfElasticsearchResponseFailed() : void from class org.graylog2.indexer.cluster.NodeTest | From | To | |
Move And Rename Method private getElasticsearchVersion() : Optional<Version> from class org.graylog2.indexer.IndexMappingFactory to public getVersion() : Optional<Version> from class org.graylog2.indexer.cluster.Node | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type jestClient : JestClient to node : Node in method public IndexMappingFactory(node Node) in class org.graylog2.indexer.IndexMappingFactory | From | To | |
Move Method | 2 | ||
Move Method private buildVersionJsonObject(foobar String) : JsonObject from class org.graylog2.indexer.IndexMappingFactoryTest to private buildVersionJsonObject(foobar String) : JsonObject from class org.graylog2.indexer.cluster.NodeTest | From | To | |
Move Method private parseVersion(version String) : Version from class org.graylog2.indexer.IndexMappingFactory to private parseVersion(version String) : Version from class org.graylog2.indexer.cluster.Node | From | To | |
Move Attribute | 3 | ||
Move Attribute private jestClient : JestClient from class org.graylog2.indexer.IndexMappingFactory to private jestClient : JestClient from class org.graylog2.indexer.cluster.Node | From | To | |
Move Attribute private jestClient : JestClient from class org.graylog2.indexer.IndexMappingFactoryTest to private jestClient : JestClient from class org.graylog2.indexer.cluster.NodeTest | From | To | |
Move Attribute private jestClient : JestClient from class org.graylog2.indexer.IndexMappingFactoryTest.ParameterizedTest to private jestClient : JestClient from class org.graylog2.indexer.cluster.Node | From | To | |
Extract Class | 1 | ||
Extract Class org.graylog2.indexer.cluster.Node from class org.graylog2.indexer.IndexMappingFactory | From | To | |
Rename Attribute | 3 | ||
Rename Attribute jestClient : JestClient to node : Node in class org.graylog2.indexer.IndexMappingFactory | From | To | |
Rename Attribute jestClient : JestClient to node : Node in class org.graylog2.indexer.IndexMappingFactoryTest.ParameterizedTest | From | To | |
Rename Attribute jestClient : JestClient to node : Node in class org.graylog2.indexer.IndexMappingFactoryTest | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type jestClient : JestClient to node : Node in class org.graylog2.indexer.IndexMappingFactory | From | To | |
Change Attribute Type jestClient : JestClient to node : Node in class org.graylog2.indexer.IndexMappingFactoryTest.ParameterizedTest | From | To | |
Change Attribute Type jestClient : JestClient to node : Node in class org.graylog2.indexer.IndexMappingFactoryTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter jestClient : JestClient to node : Node in method public IndexMappingFactory(node Node) in class org.graylog2.indexer.IndexMappingFactory | From | To |