FINERACT-822 enable OperatorPrecedence error
This commit is contained in:
committed by
Yemdjih Kaze Nasser
parent
d5af661231
commit
cfe5848a02
+1
-1
@@ -114,7 +114,7 @@ public class GlobalConfigurationProperty extends AbstractPersistableCustom {
|
|||||||
|
|
||||||
final String passwordPropertyName = "force-password-reset-days";
|
final String passwordPropertyName = "force-password-reset-days";
|
||||||
if (this.name.equalsIgnoreCase(passwordPropertyName)) {
|
if (this.name.equalsIgnoreCase(passwordPropertyName)) {
|
||||||
if (((this.enabled == true) && command.hasParameter(valueParamName) && (this.value == 0)) || ((this.enabled == true)
|
if ((this.enabled == true && command.hasParameter(valueParamName) && (this.value == 0)) || (this.enabled == true
|
||||||
&& !command.hasParameter(valueParamName) && (previousValue == 0))) { throw new ForcePasswordResetException(); }
|
&& !command.hasParameter(valueParamName) && (previousValue == 0))) { throw new ForcePasswordResetException(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -2383,8 +2383,8 @@ public class Loan extends AbstractPersistableCustom {
|
|||||||
* selected
|
* selected
|
||||||
**/
|
**/
|
||||||
|
|
||||||
if (isNoneOrCashOrUpfrontAccrualAccountingEnabledOnLoanProduct()
|
if ((isNoneOrCashOrUpfrontAccrualAccountingEnabledOnLoanProduct()
|
||||||
&& ((isMultiDisburmentLoan() && getDisbursedLoanDisbursementDetails().size() == 1) || !isMultiDisburmentLoan())) {
|
&& isMultiDisburmentLoan() && getDisbursedLoanDisbursementDetails().size() == 1) || !isMultiDisburmentLoan()) {
|
||||||
final LoanTransaction interestAppliedTransaction = LoanTransaction.accrueInterest(getOffice(), this, interestApplied,
|
final LoanTransaction interestAppliedTransaction = LoanTransaction.accrueInterest(getOffice(), this, interestApplied,
|
||||||
actualDisbursementDate, createdDate, currentUser);
|
actualDisbursementDate, createdDate, currentUser);
|
||||||
addLoanTransaction(interestAppliedTransaction) ;
|
addLoanTransaction(interestAppliedTransaction) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user