invoice: cleanup unused constructor
package org.killbill.billing.invoice.dao;
-import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
@@ -43,15 +42,6 @@ public class ExistingInvoiceMetadata {
}
}
- public ExistingInvoiceMetadata(final Collection<InvoiceModelDao> existingInvoices) {
- for (final InvoiceModelDao invoiceModelDao : existingInvoices) {
- invoicesCache.put(invoiceModelDao.getId(), invoiceModelDao);
- for (final InvoiceItemModelDao invoiceItemModelDao : invoiceModelDao.getInvoiceItems()) {
- invoiceItemsCache.put(invoiceItemModelDao.getId(), invoiceItemModelDao);
- }
- }
- }
-
public ExistingInvoiceMetadata(final InvoiceSqlDao invoiceSqlDao, final InvoiceItemSqlDao invoiceItemSqlDao) {
this.invoiceSqlDao = invoiceSqlDao;
this.invoiceItemSqlDao = invoiceItemSqlDao;
