remove old commented code

This commit is contained in:
Peter Hormanns 2014-12-04 16:18:48 +01:00
parent 80d3a5784b
commit ee861f20d0

View File

@ -46,14 +46,6 @@ public class CustomerRemote extends AbstractRemote {
}
resultMap.put("sharessigned", Integer.toString(cust.getSharesSigned()));
resultMap.put("uidvat", cust.getUidVAT());
// BankAccount bank = cust.getBankAccount();
// if (bank != null) {
// resultMap.put("bank_customer", bank.getBankCustomer());
// resultMap.put("bank_iban", bank.getBankIBAN());
// resultMap.put("bank_bic", bank.getBankBIC());
// resultMap.put("bank_name", bank.getBankName());
// resultMap.put("mandat_ref", bank.getMandatRef());
// }
Set<Contact> contacts = cust.getContacts();
if (contacts != null && !contacts.isEmpty()) {
Contact c = contacts.iterator().next();
@ -127,29 +119,6 @@ public class CustomerRemote extends AbstractRemote {
if (assertNotNull(uidVat)) {
cust.setUidVAT(uidVat);
}
// BankAccount bank = cust.getBankAccount();
// if (bank == null) {
// bank = new BankAccount();
// bank.setCustomer(cust);
// cust.setBankAccount(bank);
// bank.setMandatRef(memberNo);
// }
// String bankCustomer = (String) setParams.get("bank_customer");
// if (assertNotNull(bankCustomer)) {
// bank.setBankCustomer(bankCustomer);
// }
// String bankIBAN = (String) setParams.get("bank_iban");
// if (assertNotNull(bankIBAN)) {
// bank.setBankIBAN(bankIBAN);
// }
// String bankBIC = (String) setParams.get("bank_bic");
// if (assertNotNull(bankBIC)) {
// bank.setBankBIC(bankBIC);
// }
// String bankName = (String) setParams.get("bank_name");
// if (assertNotNull(bankName)) {
// bank.setBankName(bankName);
// }
Set<Contact> contacts = cust.getContacts();
Contact c = null;
if (contacts == null || contacts.isEmpty()) {