adamsaghy commented on code in PR #2569:
URL: https://github.com/apache/fineract/pull/2569#discussion_r963804937


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/service/DelinquencyWritePlatformServiceImpl.java:
##########
@@ -329,7 +329,7 @@ private Map<String, Object> lookUpDelinquencyRange(final 
Loan loan, final Delinq
     }
 
     public Map<String, Object> setLoanDelinquencyTag(Long loanId, Long 
delinquencyRangeId) {
-        final Loan loan = 
this.loanRepository.findOneWithNotFoundDetection(loanId);
+        final Loan loan = this.loanRepository.getReferenceById(loanId);

Review Comment:
   Would you please check whether this and the only method (public 
CommandProcessingResult setLoanDelinquencyTag(Long loanId, Long 
delinquencyRangeId, JsonCommand command)) in the line 108 is used at all?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to