94f91b4b25840a2ee3f917b248c9adb758d19558
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private processInAdvanceEvents(invoiceId UUID, accountId UUID, thisEvent BillingEvent, nextEvent BillingEvent, targetDate LocalDate, currency Currency, logStringBuilder StringBuilder) : List<InvoiceItem> renamed to private processRecurringEvents(invoiceId UUID, accountId UUID, thisEvent BillingEvent, nextEvent BillingEvent, targetDate LocalDate, currency Currency, logStringBuilder StringBuilder, billingMode BillingMode) : List<InvoiceItem> in class org.killbill.billing.invoice.generator.DefaultInvoiceGenerator | From | To | |
Rename Method private generateInAdvanceInvoiceItems(accountId UUID, invoiceId UUID, eventSet BillingEventSet, existingInvoices List<Invoice>, targetDate LocalDate, targetCurrency Currency) : List<InvoiceItem> renamed to private generateFixedAndRecurringInvoiceItems(accountId UUID, invoiceId UUID, eventSet BillingEventSet, existingInvoices List<Invoice>, targetDate LocalDate, targetCurrency Currency) : List<InvoiceItem> in class org.killbill.billing.invoice.generator.DefaultInvoiceGenerator | From | To | |
Change Return Type | 3 | ||
Change Return Type BillingModeGenerator to BillingMode in method protected abstract getBillingMode() : BillingMode in class org.killbill.billing.invoice.tests.ProRationTestBase | From | To | |
Change Return Type BillingModeGenerator to BillingMode in method protected getBillingMode() : BillingMode in class org.killbill.billing.invoice.tests.inAdvance.ProRationInAdvanceTestBase | From | To | |
Change Return Type BillingModeGenerator to BillingMode in method protected getBillingMode() : BillingMode in class org.killbill.billing.invoice.tests.inAdvance.TestValidationProRation | From | To | |
Rename Class | 1 | ||
Rename Class org.killbill.billing.invoice.model.InAdvanceBillingMode renamed to org.killbill.billing.invoice.model.DefaultBillingModeGenerator | From | To | |
Change Variable Type | 1 | ||
Change Variable Type billingMode : InAdvanceBillingMode to billingMode : DefaultBillingModeGenerator in method private verifyInvoiceItems(startDate LocalDate, endDate LocalDate, targetDate LocalDate, dateTimeZone DateTimeZone, billingCycleDayLocal int, billingPeriod BillingPeriod, expectedDates LinkedHashMap<LocalDate,LocalDate>) : void in class org.killbill.billing.invoice.model.TestInAdvanceBillingMode | From | To | |
Extract Method | 1 | ||
Extract Method private calculateInArrearEffectiveEndDate() : void extracted from private calculateEffectiveEndDate() : void in class org.killbill.billing.invoice.generator.BillingIntervalDetail | From | To |