matched.add(suspect);
issues.add(new MissingAccountTransferIssue(client, suspect.account, suspect.transaction));
}
else
{
AccountTransferEntry crossentry = null;
if (suspect.transaction.getType() == AccountTransaction.Type.TRANSFER_IN)
crossentry = new AccountTransferEntry(match.account, suspect.account);
else
crossentry = new AccountTransferEntry(suspect.account, match.account);
crossentry.setDate(match.transaction.getDate());
crossentry.setAmount(match.transaction.getAmount());
crossentry.insert();
suspect.account.getTransactions().remove(suspect.transaction);
match.account.getTransactions().remove(match.transaction);
matched.add(suspect);