15519aa1c28e3360dac7e46753c48fa2155329c7
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 2 | ||
Extract Method private processAccountWithLockAndInputTargetDate(accountId UUID, targetDateTime DateTime, billingEvents BillingEventSet, isDryRun boolean, context InternalCallContext) : Invoice extracted from private processAccountWithLock(accountId UUID, targetDateTime DateTime, dryRunArguments DryRunArguments, context InternalCallContext) : Invoice in class org.killbill.billing.invoice.InvoiceDispatcher | From | To | |
Extract Method private commitInvoiceStateAndNotifyAccountIfConfugured(account Account, invoice Invoice, billingEvents BillingEventSet, dateAndTimeZoneContext DateAndTimeZoneContext, targetDate LocalDate, context InternalCallContext) : void extracted from private processAccountWithLock(accountId UUID, targetDateTime DateTime, dryRunArguments DryRunArguments, context InternalCallContext) : Invoice in class org.killbill.billing.invoice.InvoiceDispatcher | From | To | |
Rename Parameter | 3 | ||
Rename Parameter targetDateTime : String to targetDate : String in method public generateDryRunInvoice(dryRunSubscriptionSpec InvoiceDryRunJson, accountId String, targetDate String, createdBy String, reason String, comment String, request HttpServletRequest, uriInfo UriInfo) : Response in class org.killbill.billing.jaxrs.resources.InvoiceResource | From | To | |
Rename Parameter targetDateTime : String to targetDate : String in method public createFutureInvoice(accountId String, targetDate String, createdBy String, reason String, comment String, request HttpServletRequest, uriInfo UriInfo) : Response in class org.killbill.billing.jaxrs.resources.InvoiceResource | From | To | |
Rename Parameter targetDateTime : DateTime to inputTargetDateTime : DateTime in method private processAccountWithLock(accountId UUID, inputTargetDateTime DateTime, dryRunArguments DryRunArguments, context InternalCallContext) : Invoice in class org.killbill.billing.invoice.InvoiceDispatcher | From | To |