reverting changes breaking the build

This commit is contained in:
Vishwas Babu A J
2015-05-05 22:49:29 -07:00
parent 0cf447736e
commit 6b8bae57f9
4 changed files with 5 additions and 5 deletions
@@ -112,8 +112,8 @@ public class AccountingRuleWritePlatformServiceJpaRepositoryImpl implements Acco
// get the GL Accounts or tags to Debit and Credit
final String[] debitTags = command.arrayValueOfParameterNamed(AccountingRuleJsonInputParams.DEBIT_ACCOUNT_TAGS.getValue());
final String[] creditTags = command.arrayValueOfParameterNamed(AccountingRuleJsonInputParams.CREDIT_ACCOUNT_TAGS.getValue());
final Set<String> incomingDebitTags = debitTags == null ? new HashSet<>() : new HashSet<>(Arrays.asList(debitTags));
final Set<String> incomingCreditTags = creditTags == null ? new HashSet<>() : new HashSet<>(Arrays.asList(creditTags));
final Set<String> incomingDebitTags = debitTags == null ? new HashSet<String>() : new HashSet<>(Arrays.asList(debitTags));
final Set<String> incomingCreditTags = creditTags == null ? new HashSet<String>() : new HashSet<>(Arrays.asList(creditTags));
final Long accountToDebitId = command.longValueOfParameterNamed(AccountingRuleJsonInputParams.ACCOUNT_TO_DEBIT.getValue());
final Long accountToCreditId = command.longValueOfParameterNamed(AccountingRuleJsonInputParams.ACCOUNT_TO_CREDIT.getValue());
@@ -272,7 +272,7 @@ public class DepositAccountData {
}
public Collection<SavingsAccountChargeData> charges() {
return (this.charges == null) ? new HashSet<>() : this.charges;
return (this.charges == null) ? new HashSet<SavingsAccountChargeData>() : this.charges;
}
public EnumOptionData depositType() {
@@ -469,6 +469,6 @@ public class SavingsAccountData {
}
public Collection<SavingsAccountChargeData> charges() {
return (this.charges == null) ? new HashSet<>() : this.charges;
return (this.charges == null) ? new HashSet<SavingsAccountChargeData>() : this.charges;
}
}
@@ -2309,7 +2309,7 @@ public class SavingsAccount extends AbstractPersistable<Long> {
}
public Set<SavingsAccountCharge> charges() {
return (this.charges == null) ? new HashSet<>() : this.charges;
return (this.charges == null) ? new HashSet<SavingsAccountCharge>() : this.charges;
}
public void validateAccountValuesWithProduct() {