 if (!userTemplate.getFromAccount().equals(document.getDetails())     && !userTemplate.getBenAccount().equals(document.getFromAccount())     && !userTemplate.getDetails().equals(document.getBenAccount())     && !userTemplate.getBenType().equals(document.getBenType())     && !userTemplate.getAmount().equals(document.getCreditAmount()))  