a84254bc0805a34decf4b9866b8bb434998a7e2e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 6 | ||
| Change Parameter Type months : long to months : int in method public toMonths(year int, months int) : int in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Change Parameter Type months : long to months : int in method public SqlIntervalYearMonth(months int) in class com.facebook.presto.type.SqlIntervalYearMonth | From | To | |
| Change Parameter Type months : long to months : int in method public formatMonths(months int) : String in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Change Parameter Type months : long to months : int in method private assertMonths(months int, formatted String) : void in class com.facebook.presto.client.TestIntervalYearMonth | From | To | |
| Change Parameter Type months : long to months : int in method public PrestoIntervalYearMonth(months int) in class com.facebook.presto.jdbc.PrestoIntervalYearMonth | From | To | |
| Change Parameter Type year : long to year : int in method public toMonths(year int, months int) : int in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Change Return Type | 4 | ||
| Change Return Type long to int in method public getMonths() : int in class com.facebook.presto.jdbc.PrestoIntervalYearMonth | From | To | |
| Change Return Type long to int in method public parseMonths(value String) : int in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Change Return Type long to int in method public getMonths() : int in class com.facebook.presto.type.SqlIntervalYearMonth | From | To | |
| Change Return Type long to int in method public toMonths(year int, months int) : int in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute LONG_MIN_VALUE : String to INT_MIN_VALUE : String in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Rename Attribute MAX_INT : int to MAX_SHORT : int in class com.facebook.presto.type.TestIntervalYearMonth | From | To | |
| Change Variable Type | 5 | ||
| Change Variable Type months : long to months : int in method public parseMonths(value String) : int in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Change Variable Type years : long to years : int in method public testMaxYears() : void in class com.facebook.presto.client.TestIntervalYearMonth | From | To | |
| Change Variable Type days : long to days : int in method public testOverflow() : void in class com.facebook.presto.client.TestIntervalYearMonth | From | To | |
| Change Variable Type signum : long to signum : int in method public parseMonths(value String) : int in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Change Variable Type years : long to years : int in method public parseMonths(value String) : int in class com.facebook.presto.client.IntervalYearMonth | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type months : long to months : int in class com.facebook.presto.type.SqlIntervalYearMonth | From | To | |
| Change Attribute Type months : long to months : int in class com.facebook.presto.jdbc.PrestoIntervalYearMonth | From | To |