7e78d52dfe72678cf275585bc552b1612844da44
Files Diff
- Added: 12
- Removed: 3
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private createItemProviderMenu() : void from class com.vaadin.tests.components.checkbox.CheckBoxGroupTestUI to protected createItemCaptionGeneratorMenu() : void from class com.vaadin.tests.components.abstractlisting.AbstractMultiSelectTestUI | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private itemEnabledProvider : Predicate<T> from class com.vaadin.ui.CheckBoxGroup to private itemEnabledProvider : Predicate<T> from class com.vaadin.ui.AbstractMultiSelect | From | To | |
Pull Up Attribute private selectionCategory : String from class com.vaadin.tests.components.checkbox.CheckBoxGroupTestUI to protected selectionCategory : String from class com.vaadin.tests.components.abstractlisting.AbstractMultiSelectTestUI | From | To | |
Rename Class | 1 | ||
Rename Class com.vaadin.ui.CheckBoxGroupTest renamed to com.vaadin.ui.AbstractMultiSelectTest | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class com.vaadin.shared.ui.optiongroup.RadioButtonGroupConstants moved and renamed to com.vaadin.shared.ui.ListingJsonConstants | From | To | |
Move Class | 1 | ||
Move Class com.vaadin.ui.CheckBoxGroup.SimpleMultiSelectModel moved to com.vaadin.ui.AbstractMultiSelect.SimpleMultiSelectModel | From | To | |
Change Variable Type | 2 | ||
Change Variable Type tws : TwinColSelect to tws : TwinColSelect<String> in method protected initializeComponents() : void in class com.vaadin.tests.components.select.TwinColSelects | From | To | |
Change Variable Type rpc : SelectionServerRpc to rpc : MultiSelectServerRpc in method private selectionChanged(changedItem JsonObject, selected Boolean) : void in class com.vaadin.client.ui.optiongroup.CheckBoxGroupConnector | From | To | |
Extract Method | 1 | ||
Extract Method protected setOptionEnabled(checkBox VCheckBox, item JsonObject) : void extracted from public buildOptions(items List<JsonObject>) : void in class com.vaadin.client.ui.VCheckBoxGroup | From | To | |
Rename Method | 2 | ||
Rename Method public itemIconProvider() : void renamed to public itemIconGenerator() : void in class com.vaadin.tests.components.checkboxgroup.CheckBoxGroupTest | From | To | |
Rename Method public itemCaptionProvider() : void renamed to public itemCaptionGenerator() : void in class com.vaadin.tests.components.checkboxgroup.CheckBoxGroupTest | From | To | |
Pull Up Method | 3 | ||
Pull Up Method private toggleSelection(item String) : void from class com.vaadin.tests.components.checkbox.CheckBoxGroupTestUI to private toggleSelection(item String) : void from class com.vaadin.tests.components.abstractlisting.AbstractMultiSelectTestUI | From | To | |
Pull Up Method protected createListenerMenu() : void from class com.vaadin.tests.components.checkbox.CheckBoxGroupTestUI to protected createListenerMenu() : void from class com.vaadin.tests.components.abstractlisting.AbstractMultiSelectTestUI | From | To | |
Pull Up Method protected createSelectionMenu() : void from class com.vaadin.tests.components.checkbox.CheckBoxGroupTestUI to protected createSelectionMenu() : void from class com.vaadin.tests.components.abstractlisting.AbstractMultiSelectTestUI | From | To | |
Change Return Type | 1 | ||
Change Return Type TwinColSelect to TwinColSelect<String> in method private createTwinColSelect(caption String) : TwinColSelect<String> in class com.vaadin.tests.components.select.TwinColSelects | From | To | |
Extract Superclass | 1 | ||
Extract Superclass com.vaadin.tests.components.abstractlisting.AbstractMultiSelectTestUI from classes [com.vaadin.tests.components.checkbox.CheckBoxGroupTestUI] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute DEFAULT_ICON_PROVIDER : Function<Object,Resource> to DEFAULT_ICON_GENERATOR : IconGenerator<Object> in class com.vaadin.tests.components.checkbox.CheckBoxGroupTestUI | From | To | |
Rename Attribute checkBoxGroup : CheckBoxGroup<String> to selectToTest : AbstractMultiSelect<String> in class com.vaadin.ui.AbstractMultiSelectTest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type checkBoxGroup : CheckBoxGroup<String> to selectToTest : AbstractMultiSelect<String> in class com.vaadin.ui.AbstractMultiSelectTest | From | To | |
Change Attribute Type DEFAULT_ICON_PROVIDER : Function<Object,Resource> to DEFAULT_ICON_GENERATOR : IconGenerator<Object> in class com.vaadin.tests.components.checkbox.CheckBoxGroupTestUI | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method protected getItemEnabledProvider() : Predicate<T> extracted from public getItemEnabledProvider() : Predicate<T> in class com.vaadin.ui.CheckBoxGroup & moved to class com.vaadin.ui.AbstractMultiSelect | From | To | |
Extract And Move Method protected setItemEnabledProvider(itemEnabledProvider Predicate<T>) : void extracted from public setItemEnabledProvider(itemEnabledProvider Predicate<T>) : void in class com.vaadin.ui.CheckBoxGroup & moved to class com.vaadin.ui.AbstractMultiSelect | From | To |