Skip to content

Commit

Permalink
Quick fix for IllegalArgumentException
Browse files Browse the repository at this point in the history
Apparently, some dialogs first add the transactions only to set the
currency afterwards. The initial quick fix is to remove this safeguard
for now.
  • Loading branch information
buchen committed May 21, 2017
1 parent a79a10d commit ebe33a9
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ public List<AccountTransaction> getTransactions()
@Override
public void addTransaction(AccountTransaction transaction)
{
if (!currencyCode.equals(transaction.getCurrencyCode()))
throw new IllegalArgumentException();

this.transactions.add(transaction);
}

Expand Down

0 comments on commit ebe33a9

Please sign in to comment.