diff --git a/fineract-core/src/main/java/org/apache/fineract/commands/service/SynchronousCommandProcessingService.java b/fineract-core/src/main/java/org/apache/fineract/commands/service/SynchronousCommandProcessingService.java index 72e9c70e91b..b0ac361718c 100644 --- a/fineract-core/src/main/java/org/apache/fineract/commands/service/SynchronousCommandProcessingService.java +++ b/fineract-core/src/main/java/org/apache/fineract/commands/service/SynchronousCommandProcessingService.java @@ -215,7 +215,7 @@ public CommandProcessingResult logCommand(CommandSource commandSource) { } @SuppressWarnings("unused") - private CommandProcessingResult fallbackExecuteCommand(Exception e) { + public CommandProcessingResult fallbackExecuteCommand(Exception e) { if (e instanceof RollbackTransactionAsCommandIsNotApprovedByCheckerException ex) { return logCommand(ex.getCommandSourceResult()); } diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/service/SchedularWritePlatformServiceJpaRepositoryImpl.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/service/SchedularWritePlatformServiceJpaRepositoryImpl.java index d8a1f9e6d2b..5ffc473a5b0 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/service/SchedularWritePlatformServiceJpaRepositoryImpl.java +++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/service/SchedularWritePlatformServiceJpaRepositoryImpl.java @@ -155,7 +155,7 @@ public boolean processJobDetailForExecution(final String jobKey, final String tr } @SuppressWarnings("unused") - private boolean fallbackProcessJobDetailForExecution(Exception e) { + public boolean fallbackProcessJobDetailForExecution(Exception e) { return false; } diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java index 551b952e337..73953e16bed 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java +++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java @@ -2426,7 +2426,7 @@ public CommandProcessingResult recoverFromGuarantor(final Long loanId) { } @SuppressWarnings("unused") - private void fallbackRecalculateInterest(Throwable t) { + public void fallbackRecalculateInterest(Throwable t) { // NOTE: allow caller to catch the exceptions // NOTE: wrap throwable only if really necessary throw errorHandler.getMappable(t, null, null, "loan.recalculateinterest"); diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountWritePlatformServiceJpaRepositoryImpl.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountWritePlatformServiceJpaRepositoryImpl.java index ca47a7f627f..d98e18b1b59 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountWritePlatformServiceJpaRepositoryImpl.java +++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountWritePlatformServiceJpaRepositoryImpl.java @@ -1378,8 +1378,8 @@ public void applyChargeDue(final Long savingsAccountChargeId, final Long account } @SuppressWarnings("unused") - private SavingsAccountData fallbackPostInterest(SavingsAccountData savingsAccountData, boolean postInterestAs, - LocalDate transactionDate, boolean backdatedTxnsAllowedTill, Throwable t) { + public SavingsAccountData fallbackPostInterest(SavingsAccountData savingsAccountData, boolean postInterestAs, LocalDate transactionDate, + boolean backdatedTxnsAllowedTill, Throwable t) { // NOTE: allow caller to catch the exceptions // NOTE: wrap throwable only if really necessary throw errorHandler.getMappable(t, null, null, "savings.postinterest");