47dca9676b720d3a74b582887e0ddf9de00821f2
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method public hashCode() : int from class org.graylog.plugins.enterprise.search.engine.PlanElement to public hashCode() : int from class org.graylog.plugins.enterprise.search.Filter.Fallback | From | To | |
Move Method public equals(o Object) : boolean from class org.graylog.plugins.enterprise.search.engine.PlanElement to public equals(o Object) : boolean from class org.graylog.plugins.enterprise.search.Filter.Fallback | From | To | |
Change Return Type | 4 | ||
Change Return Type void to CompletableFuture<Void> in method protected plan() : CompletableFuture<Void> in class org.graylog.plugins.enterprise.search.engine.QueryPlan | From | To | |
Change Return Type ImmutableList<SearchType> to ImmutableSet<SearchType> in method public abstract searchTypes() : ImmutableSet<SearchType> in class org.graylog.plugins.enterprise.search.Query | From | To | |
Change Return Type Map<String,ParameterBinding> to ImmutableSet<Parameter> in method public abstract parameters() : ImmutableSet<Parameter> in class org.graylog.plugins.enterprise.search.Query | From | To | |
Change Return Type ImmutableList<Query> to ImmutableSet<Query> in method public abstract queries() : ImmutableSet<Query> in class org.graylog.plugins.enterprise.search.Search | From | To | |
Change Variable Type | 1 | ||
Change Variable Type planGraph : MutableGraph<PlanElement> to planGraph : MutableGraph<Query> in method protected plan() : CompletableFuture<Void> in class org.graylog.plugins.enterprise.search.engine.QueryPlan | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type rootNode : PlanElement to rootNode : Query in class org.graylog.plugins.enterprise.search.engine.QueryPlan | From | To | |
Change Attribute Type plan : ImmutableGraph<PlanElement> to plan : ImmutableGraph<Query> in class org.graylog.plugins.enterprise.search.engine.QueryPlan | From | To | |
Extract Method | 1 | ||
Extract Method private getQueryBackend(query Query) : QueryBackend extracted from public execute(searchJob SearchJob) : SearchJob in class org.graylog.plugins.enterprise.search.engine.QueryEngine | From | To | |
Inline Variable | 1 | ||
Inline Variable searchTypes : ImmutableList<SearchType> in method public build() : Query from class org.graylog.plugins.enterprise.search.Query.Builder | From | To |