cc7bc9535bddc08a4d9fee1a35284ad16b5a14c9
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method package abstract optionIterable() : Iterable<OptionValue> renamed to package abstract getLocalOptions() : Iterable<OptionValue> in class org.apache.drill.exec.server.options.FallbackOptionManager | From | To | |
| Rename Method package optionIterable() : Iterable<OptionValue> renamed to package getLocalOptions() : Iterable<OptionValue> in class org.apache.drill.exec.server.options.InMemoryOptionManager | From | To | |
| Rename Method package optionIterable() : Iterable<OptionValue> renamed to package getLocalOptions() : Iterable<OptionValue> in class org.apache.drill.exec.server.options.SessionOptionManager | From | To | |
| Move And Rename Method | 2 | ||
| Move And Rename Method public validate(name String, value SqlLiteral, optionType OptionType) : OptionValue from class org.apache.drill.exec.server.options.SystemOptionManager.SystemOptionAdmin to public getValidator(name String) : OptionValidator from class org.apache.drill.exec.server.options.SystemOptionManager | From | To | |
| Move And Rename Method private getPartialValue(name String, type OptionType, literal SqlLiteral) : OptionValue from class org.apache.drill.exec.server.options.TypeValidators to private createOptionValue(name String, type OptionValue.OptionType, literal SqlLiteral) : OptionValue from class org.apache.drill.exec.planner.sql.handlers.SetOptionHandler | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type value : OptionValue to name : String in method private withinRange(name String) : boolean in class org.apache.drill.exec.server.options.SessionOptionManager | From | To | |
| Change Parameter Type type : OptionType to type : OptionValue.OptionType in method private createOptionValue(name String, type OptionValue.OptionType, literal SqlLiteral) : OptionValue in class org.apache.drill.exec.planner.sql.handlers.SetOptionHandler | From | To | |
| Rename Variable | 5 | ||
| Rename Variable v : OptionValidator to entry : Map.Entry<String,OptionValidator> in method public iterator() : Iterator<OptionValue> in class org.apache.drill.exec.server.options.SystemOptionManager | From | To | |
| Rename Variable v : OptionValue to value : OptionValue in method public getOption(name String) : OptionValue in class org.apache.drill.exec.server.options.SystemOptionManager | From | To | |
| Rename Variable opt : OptionValue to value : OptionValue in method public getOption(name String) : OptionValue in class org.apache.drill.exec.server.options.FallbackOptionManager | From | To | |
| Rename Variable v : OptionValue to value : OptionValue in method private getMapFromOptionList(options OptionList) : Map<String,OptionValue> in class org.apache.drill.exec.server.options.FragmentOptionManager | From | To | |
| Rename Variable o : OptionValue to value : OptionValue in method public getOptionList() : OptionList in class org.apache.drill.exec.server.options.FallbackOptionManager | From | To | |
| Inline Method | 1 | ||
| Inline Method private setValidatedOption(value OptionValue) : void inlined to public setOption(value OptionValue) : void in class org.apache.drill.exec.server.options.FallbackOptionManager | From | To | |
| Change Return Type | 1 | ||
| Change Return Type OptionValue to OptionValidator in method public getValidator(name String) : OptionValidator in class org.apache.drill.exec.server.options.SystemOptionManager | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type v : OptionValidator to entry : Map.Entry<String,OptionValidator> in method public iterator() : Iterator<OptionValue> in class org.apache.drill.exec.server.options.SystemOptionManager | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type shortLivedOptions : ConcurrentHashMap<String,ImmutablePair<Integer,Integer>> to shortLivedOptions : Map<String,ImmutablePair<Integer,Integer>> in class org.apache.drill.exec.server.options.SessionOptionManager | From | To | |
| Change Attribute Type VALIDATORS : ImmutableList<OptionValidator> to VALIDATORS : CaseInsensitiveMap<OptionValidator> in class org.apache.drill.exec.server.options.SystemOptionManager | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter v : OptionValue to value : OptionValue in method public abstract validate(value OptionValue) : void in class org.apache.drill.exec.server.options.OptionValidator | From | To | |
| Rename Parameter value : OptionValue to name : String in method private withinRange(name String) : boolean in class org.apache.drill.exec.server.options.SessionOptionManager | From | To |