39c15034076015a16cd056adf9dc422335985543
Files Diff
- Added: 5
- Removed: 4
- Renamed: 0
- Modified: 18
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public select(item String) : void renamed to public setValue(item String) : void in class com.vaadin.tests.data.DummyData.DummyComponent | From | To | |
| Rename Method public getComponent() : AbstractListing<T> renamed to public getSource() : SingleSelect<T> in class com.vaadin.event.selection.SingleSelectionEvent | From | To | |
| Rename Method public addSelectionListener(listener SingleSelectionListener<T>) : Registration renamed to public addSelectionChangeListener(listener SingleSelectionListener<T>) : Registration in class com.vaadin.ui.AbstractSingleSelect | From | To | |
| Move Method | 3 | ||
| Move Method public isItemSelected(item JsonObject) : boolean from class com.vaadin.client.connectors.selection.AbstractSelectionConnector to public isItemSelected(item JsonObject) : boolean from class com.vaadin.client.data.SelectionModel | From | To | |
| Move Method public select(item T) : void from class com.vaadin.ui.AbstractSingleSelect to public select(item T) : void from class com.vaadin.ui.components.grid.SingleSelectionModel | From | To | |
| Move Method public deselect(item T) : void from class com.vaadin.ui.AbstractSingleSelect to public deselect(item T) : void from class com.vaadin.ui.components.grid.SingleSelectionModel | From | To | |
| Change Return Type | 2 | ||
| Change Return Type Single<T> to GridSelectionModel<T> in method public getSelectionModel() : GridSelectionModel<T> in class com.vaadin.ui.Grid | From | To | |
| Change Return Type AbstractListing<T> to SingleSelect<T> in method public getSource() : SingleSelect<T> in class com.vaadin.event.selection.SingleSelectionEvent | From | To | |
| Extract Class | 1 | ||
| Extract Class com.vaadin.ui.components.grid.SingleSelectionModel from class com.vaadin.ui.AbstractSingleSelect | From | To | |
| Rename Class | 2 | ||
| Rename Class com.vaadin.tests.components.grid.GridSelectionTest renamed to com.vaadin.tests.components.grid.GridSingleSelectionModelTest | From | To | |
| Rename Class com.vaadin.event.selection.SingleSelectionChangeEvent renamed to com.vaadin.event.selection.SingleSelectionEvent | From | To | |
| Extract Variable | 1 | ||
| Extract Variable model : GridSelectionModel<String> in method public testGridWithSingleSelection() : void from class com.vaadin.tests.components.grid.GridSingleSelectionModelTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type event : SingleSelectionChangeEvent to event : SingleSelectionEvent in method public getFirstSelected_singleSelectEvent() : void in class com.vaadin.event.selection.SelectionEventTest | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type selectionModel : Single<T> to selectionModel : GridSelectionModel<T> in class com.vaadin.ui.Grid | From | To | |
| Change Attribute Type grid : Grid<String> to grid : Grid<Person> in class com.vaadin.tests.components.grid.GridSingleSelectionModelTest | From | To |