d99b2211fa4843cbd53fca3bd52facbd450b3859
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testInvoiceStatusTransition() : void renamed to public testCommitInvoice() : void in class org.killbill.billing.invoice.api.user.TestDefaultInvoiceUserApi | From | To | |
Rename Variable | 1 | ||
Rename Variable defaultInvoiceCreationEvent : DefaultInvoiceCreationEvent to event : DefaultInvoiceCreationEvent in method private notifyBusOfInvoiceCreation(entitySqlDaoWrapperFactory EntitySqlDaoWrapperFactory, invoice InvoiceModelDao, context InternalCallContext) : void in class org.killbill.billing.invoice.dao.DefaultInvoiceDao | From | To | |
Extract Variable | 2 | ||
Extract Variable invoiceId : UUID in method public testAddCreditToInvoice() : void from class org.killbill.billing.jaxrs.TestCredit | From | To | |
Extract Variable status : InvoiceStatus in method public prepareInvoices() : List<Invoice> from class org.killbill.billing.invoice.api.user.DefaultInvoiceUserApi.insertCreditForInvoice.withAccountLock | From | To | |
Extract Method | 2 | ||
Extract Method private insertCreditForInvoice(accountId UUID, invoiceId UUID, amount BigDecimal, effectiveDate LocalDate, currency Currency, autoCommit boolean, context CallContext) : InvoiceItem extracted from public insertCreditForInvoice(accountId UUID, invoiceId UUID, amount BigDecimal, effectiveDate LocalDate, currency Currency, context CallContext) : InvoiceItem in class org.killbill.billing.invoice.api.user.DefaultInvoiceUserApi | From | To | |
Extract Method private notifyBusOfInvoiceCreation(entitySqlDaoWrapperFactory EntitySqlDaoWrapperFactory, invoice InvoiceModelDao, context InternalCallContext) : void extracted from public changeInvoiceStatus(invoiceId UUID, newStatus InvoiceStatus, context InternalCallContext) : void in class org.killbill.billing.invoice.dao.DefaultInvoiceDao | From | To |