dd5597d9014032cc366d4b70405e007b1876c350
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method protected getTimeValues(uidl UIDL) : Map<R,Integer> renamed to protected getDefaultValues() : Map<R,Integer> in class com.vaadin.client.ui.datefield.AbstractDateFieldConnector | From | To | |
Rename Method protected getDefaultValues(uidl UIDL) : Map<R,Integer> renamed to private getTimeValues() : Map<R,Integer> in class com.vaadin.client.ui.datefield.AbstractDateFieldConnector | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type resolutionValues : Map<R,Integer> to resolutionValues : Map<DateTimeResolution,Integer> in method protected buildDate(resolutionValues Map<DateTimeResolution,Integer>) : LocalDateTime in class com.vaadin.tests.server.component.datefield.DateFieldListenersTest.TestDateField | From | To | |
Change Parameter Type variables : Map<String,Object> to variables : Map<String,Integer> in method protected reconstructDateFromFields(variables Map<String,Integer>, oldDate T) : T in class com.vaadin.ui.AbstractDateField | From | To | |
Change Parameter Type date : T to date : LocalDateTime in method protected convertToDate(date LocalDateTime) : Date in class com.vaadin.tests.server.component.datefield.DateFieldListenersTest.TestDateField | From | To | |
Change Parameter Type date : T to date : LocalDateTime in method protected getDatePart(date LocalDateTime, resolution DateTimeResolution) : int in class com.vaadin.tests.server.component.datefield.DateFieldListenersTest.TestDateField | From | To | |
Change Parameter Type resolution : R to resolution : DateTimeResolution in method protected getDatePart(date LocalDateTime, resolution DateTimeResolution) : int in class com.vaadin.tests.server.component.datefield.DateFieldListenersTest.TestDateField | From | To | |
Change Return Type | 3 | ||
Change Return Type T to LocalDateTime in method protected buildDate(resolutionValues Map<DateTimeResolution,Integer>) : LocalDateTime in class com.vaadin.tests.server.component.datefield.DateFieldListenersTest.TestDateField | From | To | |
Change Return Type RangeValidator<T> to RangeValidator<LocalDateTime> in method protected getRangeValidator() : RangeValidator<LocalDateTime> in class com.vaadin.tests.server.component.datefield.DateFieldListenersTest.TestDateField | From | To | |
Change Return Type T to LocalDateTime in method protected convertFromDate(date Date) : LocalDateTime in class com.vaadin.tests.server.component.datefield.DateFieldListenersTest.TestDateField | From | To | |
Move Attribute | 2 | ||
Move Attribute private showISOWeekNumbers : boolean from class com.vaadin.ui.AbstractDateField to public showISOWeekNumbers : boolean from class com.vaadin.shared.ui.datefield.AbstractDateFieldState | From | To | |
Move Attribute private lenient : boolean from class com.vaadin.ui.AbstractDateField to public lenient : boolean from class com.vaadin.shared.ui.datefield.AbstractDateFieldState | From | To | |
Rename Attribute | 1 | ||
Rename Attribute currentLocale : String to locale : String in class com.vaadin.client.DateTimeService | From | To | |
Change Variable Type | 9 | ||
Change Variable Type second : int to second : Integer in method public makeDate(dateValues Map<DateTimeResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupTimeCalendar | From | To | |
Change Variable Type year : int to year : Integer in method public makeDate(dateValues Map<DateTimeResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupTimeCalendar | From | To | |
Change Variable Type minute : int to minute : Integer in method public makeDate(dateValues Map<DateTimeResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupTimeCalendar | From | To | |
Change Variable Type month : int to month : Integer in method public makeDate(dateValues Map<DateResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupCalendar | From | To | |
Change Variable Type day : int to day : Integer in method public makeDate(dateValues Map<DateResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupCalendar | From | To | |
Change Variable Type month : int to month : Integer in method public makeDate(dateValues Map<DateTimeResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupTimeCalendar | From | To | |
Change Variable Type day : int to day : Integer in method public makeDate(dateValues Map<DateTimeResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupTimeCalendar | From | To | |
Change Variable Type hour : int to hour : Integer in method public makeDate(dateValues Map<DateTimeResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupTimeCalendar | From | To | |
Change Variable Type year : int to year : Integer in method public makeDate(dateValues Map<DateResolution,Integer>) : Date in class com.vaadin.client.ui.VPopupCalendar | From | To | |
Extract Variable | 5 | ||
Extract Variable listener : FocusChangeListener in method protected updateListeners() : void from class com.vaadin.client.ui.datefield.TextualDateConnector | From | To | |
Extract Variable resolution : DateTimeResolution in method public updateValueFromPanel() : void from class com.vaadin.client.ui.VDateTimeFieldCalendar | From | To | |
Extract Variable widget : VDateField<R> in method private getTimeValues() : Map<R,Integer> from class com.vaadin.client.ui.datefield.AbstractDateFieldConnector | From | To | |
Extract Variable dts : DateTimeService in method private getDateTimeService() : DateTimeService from class com.vaadin.client.ui.VDateTimeCalendarPanel.VTime | From | To | |
Extract Variable widget : VDateField<R> in method private updateResolution() : void from class com.vaadin.client.ui.datefield.AbstractDateFieldConnector | From | To | |
Extract Method | 4 | ||
Extract Method private asTwoDigits(i int) : String extracted from public getStringForDate(d Date) : String in class com.vaadin.client.ui.CalendarEntry | From | To |