a47ba879138d7b2b966c4e8afb192c6a5bb14e6c
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public computeInvoiceBalance(currency Currency, invoiceItems Iterable<InvoiceItem>, invoicePayments Iterable<InvoicePayment>, writtenOffOrMigrated boolean) : BigDecimal renamed to public computeRawInvoiceBalance(currency Currency, invoiceItems Iterable<InvoiceItem>, invoicePayments Iterable<InvoicePayment>) : BigDecimal in class org.killbill.billing.invoice.calculator.InvoiceCalculatorUtils | From | To | |
Rename Method public getBalance(invoiceModelDao InvoiceModelDao) : BigDecimal renamed to public apply(input InvoiceItemModelDao) : InvoiceItem in class org.killbill.billing.invoice.dao.InvoiceModelDaoHelper.getRawBalanceForRegularInvoice.computeRawInvoiceBalance.transform | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type invoiceModelDao : InvoiceModelDao to input : InvoiceItemModelDao in method public apply(input InvoiceItemModelDao) : InvoiceItem in class org.killbill.billing.invoice.dao.InvoiceModelDaoHelper.getRawBalanceForRegularInvoice.computeRawInvoiceBalance.transform | From | To | |
Rename Variable | 2 | ||
Rename Variable ignoreForAccountBalanceComputation : boolean to hasZeroParentBalance : boolean in method public inTransaction(entitySqlDaoWrapperFactory EntitySqlDaoWrapperFactory) : BigDecimal in class org.killbill.billing.invoice.dao.DefaultInvoiceDao.getAccountBalance.execute | From | To | |
Rename Variable balance : BigDecimal to rawBalance : BigDecimal in method private notifyBusOfInvoiceCreation(entitySqlDaoWrapperFactory EntitySqlDaoWrapperFactory, invoice InvoiceModelDao, context InternalCallContext) : void in class org.killbill.billing.invoice.dao.DefaultInvoiceDao | From | To | |
Change Return Type | 1 | ||
Change Return Type BigDecimal to InvoiceItem in method public apply(input InvoiceItemModelDao) : InvoiceItem in class org.killbill.billing.invoice.dao.InvoiceModelDaoHelper.getRawBalanceForRegularInvoice.computeRawInvoiceBalance.transform | From | To | |
Rename Parameter | 1 | ||
Rename Parameter invoiceModelDao : InvoiceModelDao to input : InvoiceItemModelDao in method public apply(input InvoiceItemModelDao) : InvoiceItem in class org.killbill.billing.invoice.dao.InvoiceModelDaoHelper.getRawBalanceForRegularInvoice.computeRawInvoiceBalance.transform | From | To |