b999f8b0b4ec9db53f684aa3999da1f2533a4fea
Files Diff
- Added: 9
- Removed: 2
- Renamed: 0
- Modified: 31
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private ClearTable() : void renamed to private clearTable() : void in class me.corriekay.pokegoutil.utils.windows.PokemonTableModel | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type perPokeCallback : BiConsumer<NicknamePokemonResponse.Result,Pokemon> to perPokeCallback : TriConsumer<NicknamePokemonResponse.Result,Pokemon,String> in method public bulkRenameWithPattern(pattern String, perPokeCallback TriConsumer<NicknamePokemonResponse.Result,Pokemon,String>) : Map<Pokemon,NicknamePokemonResponse.Result> in class me.corriekay.pokegoutil.utils.pokemon.PokeHandler | From | To | |
| Move Method | 1 | ||
| Move Method public getSelectedPokemon() : ArrayList<Pokemon> from class me.corriekay.pokegoutil.windows.PokemonTab to public getSelectedPokemon() : ArrayList<Pokemon> from class me.corriekay.pokegoutil.utils.windows.PokemonTable | From | To | |
| Change Return Type | 2 | ||
| Change Return Type LinkedHashMap<Pokemon,NicknamePokemonResponse.Result> to Map<Pokemon,NicknamePokemonResponse.Result> in method public bulkRenameWithPattern(pattern String, perPokeCallback TriConsumer<NicknamePokemonResponse.Result,Pokemon,String>) : Map<Pokemon,NicknamePokemonResponse.Result> in class me.corriekay.pokegoutil.utils.pokemon.PokeHandler | From | To | |
| Change Return Type Comparator to Comparator<?> in method public getComparator() : Comparator<?> in class me.corriekay.pokegoutil.data.enums.PokeColumn | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private MIN_FONT_SIZE : int from class me.corriekay.pokegoutil.windows.PokemonTab to private MIN_FONT_SIZE : int from class me.corriekay.pokegoutil.utils.windows.PokemonTable | From | To | |
| Extract Attribute | 1 | ||
| Extract Attribute private GRID_WIDTH : int in class me.corriekay.pokegoutil.windows.PokemonTab | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute textAreaHeight : int to TEXT_AREA_HEIGHT : int in class me.corriekay.pokegoutil.windows.PokemonGoMainWindow | From | To | |
| Extract Variable | 2 | ||
| Extract Variable width : int in method private buildPanelForOperation(operation BatchOperation, pokes ArrayList<Pokemon>) : JPanel from class me.corriekay.pokegoutil.windows.PokemonTab | From | To | |
| Extract Variable favorite : boolean in method private toggleFavorite(operation BatchOperation) : void from class me.corriekay.pokegoutil.windows.PokemonTab | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type results : LinkedHashMap<Pokemon,NicknamePokemonResponse.Result> to results : Map<Pokemon,NicknamePokemonResponse.Result> in method public bulkRenameWithPattern(pattern String, perPokeCallback TriConsumer<NicknamePokemonResponse.Result,Pokemon,String>) : Map<Pokemon,NicknamePokemonResponse.Result> in class me.corriekay.pokegoutil.utils.pokemon.PokeHandler | From | To | |
| Extract Method | 1 | ||
| Extract Method private addAndInitializeComponents() : void extracted from public PokemonTab(go PokemonGo) in class me.corriekay.pokegoutil.windows.PokemonTab | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type data : ArrayList to data : ArrayList<Object> in class me.corriekay.pokegoutil.data.enums.PokeColumn | From | To | |
| Change Attribute Type columnErrors : List to columnErrors : List<String> in class me.corriekay.pokegoutil.utils.windows.PokemonTable | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public applySpecifiedFontSize() : void extracted from public PokemonTab(go PokemonGo) in class me.corriekay.pokegoutil.windows.PokemonTab & moved to class me.corriekay.pokegoutil.utils.windows.PokemonTable | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter go : PokemonGo to goInstance : PokemonGo in method public PokemonTab(goInstance PokemonGo) in class me.corriekay.pokegoutil.windows.PokemonTab | From | To | |
| Rename Parameter i : int to index : int in method public getPokemonByIndex(index int) : Pokemon in class me.corriekay.pokegoutil.utils.windows.PokemonTableModel | From | To |