FINERACT-2326: Refractor redundant and some deprecated code as per new Java 21 style
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ public class CreditAllocationsValidator {
|
||||
}
|
||||
|
||||
private boolean hasLoanProductCreditAllocationRule(List<LoanProductCreditAllocationRule> rules) {
|
||||
return rules != null && rules.size() > 0;
|
||||
return rules != null && !rules.isEmpty();
|
||||
}
|
||||
|
||||
private void raiseValidationError(String globalisationMessageCode, String msg) {
|
||||
|
||||
Reference in New Issue
Block a user