File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
src/main/java/com/diffblue/corebanking/compliance/rules Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,18 @@ public ComplianceRuleBalanceAboveOrEqualToZero() {
17
17
* @param account The account to verify compliance.
18
18
*/
19
19
public void ValidateAccountCompliance (Account account ) {
20
+
21
+ // Make sure the account does not belong to any list.
20
22
this .currentFailedAccounts .remove (account );
21
23
this .currentPassedAccounts .remove (account );
22
- if (account .getCurrentBalance () >= 0 ) {
23
- this .currentPassedAccounts .add (account );
24
- } else {
25
- this .currentFailedAccounts .add (account );
24
+
25
+ // Check if this account passes or fails this rule.
26
+ if (false ) {
27
+ if (account .getCurrentBalance () >= 0 ) {
28
+ this .currentPassedAccounts .add (account );
29
+ } else {
30
+ this .currentFailedAccounts .add (account );
31
+ }
26
32
}
27
33
}
28
34
}
You can’t perform that action at this time.
0 commit comments