db4d2da7e92c0858a84d1cf47b6e44f0ee359810
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 5 | ||
Rename Variable billingIntervalDetail : BillingIntervalDetail to annualBillingIntervalDetail : BillingIntervalDetail in method public testCalculateFirstBillingCycleDate3() : void in class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Rename Variable billingIntervalDetail : BillingIntervalDetail to annualBillingIntervalDetail : BillingIntervalDetail in method public testCalculateFirstBillingCycleDate4() : void in class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Rename Variable numberOfMonths : int to numberBetween : int in method public calculateNumberOfWholeBillingPeriods(startDate LocalDate, endDate LocalDate, billingPeriod BillingPeriod) : int in class org.killbill.billing.invoice.generator.InvoiceDateUtils | From | To | |
Rename Variable billingIntervalDetail : BillingIntervalDetail to annualBillingIntervalDetail : BillingIntervalDetail in method public testCalculateFirstBillingCycleDate1() : void in class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Rename Variable billingIntervalDetail : BillingIntervalDetail to annualBillingIntervalDetail : BillingIntervalDetail in method public testCalculateFirstBillingCycleDate2() : void in class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract Variable | 8 | ||
Extract Variable to : LocalDate in method public testCalculateFirstBillingCycleDate4() : void from class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract Variable targetDate : LocalDate in method public testCalculateFirstBillingCycleDate2() : void from class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract Variable to : LocalDate in method public testCalculateFirstBillingCycleDate1() : void from class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract Variable targetDate : LocalDate in method public testCalculateFirstBillingCycleDate4() : void from class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract Variable to : LocalDate in method public testCalculateFirstBillingCycleDate3() : void from class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract Variable targetDate : LocalDate in method public testCalculateFirstBillingCycleDate1() : void from class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract Variable targetDate : LocalDate in method public testCalculateFirstBillingCycleDate3() : void from class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract Variable to : LocalDate in method public testCalculateFirstBillingCycleDate2() : void from class org.killbill.billing.invoice.generator.TestInAdvanceBillingIntervalDetail | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public advanceByNPeriods(initialDate LocalDate, billingPeriod BillingPeriod, nbPeriods int) : LocalDate extracted from private calculateLastBillingCycleDate() : void in class org.killbill.billing.invoice.generator.BillingIntervalDetail & moved to class org.killbill.billing.invoice.generator.InvoiceDateUtils | From | To |