be0233b511a8b7ac02265979c0dbba328775f615
Files Diff
- Added: 1
- Removed: 2
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public fromConfigurationShouldThrowOnNull() : void renamed to public constructorShouldThrowOnNull() : void in class org.apache.james.backends.es.ClientProviderTest | From | To | |
Pull Up Method | 2 | ||
Pull Up Method private ClientProviderImpl(configuration ElasticSearchConfiguration) from class org.apache.james.backends.es.ClientProviderImpl to package ClientProvider(configuration ElasticSearchConfiguration) from class org.apache.james.backends.es.ClientProvider | From | To | |
Pull Up Method private hostsToHttpHosts() : HttpHost[] from class org.apache.james.backends.es.ClientProviderImpl to private hostsToHttpHosts() : HttpHost[] from class org.apache.james.backends.es.ClientProvider | From | To | |
Inline Method | 1 | ||
Inline Method private getESClient() : RestHighLevelClient inlined to public setup() : void in class org.apache.james.backends.es.ElasticSearchIndexerTest | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private configuration : ElasticSearchConfiguration from class org.apache.james.backends.es.ClientProviderImpl to private configuration : ElasticSearchConfiguration from class org.apache.james.backends.es.ClientProvider | From | To | |
Pull Up Attribute private HTTP_HOST_SCHEME : String from class org.apache.james.backends.es.ClientProviderImpl to private HTTP_HOST_SCHEME : String from class org.apache.james.backends.es.ClientProvider | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.james.backends.es.ClientProviderImplTest renamed to org.apache.james.backends.es.ClientProviderTest | From | To | |
Extract Method | 1 | ||
Extract Method public configuration() : ElasticSearchConfiguration extracted from public clientProvider() : ClientProvider in class org.apache.james.backends.es.DockerElasticSearch | From | To |