vidakovic commented on code in PR #2554:
URL: https://github.com/apache/fineract/pull/2554#discussion_r961214994


##########
fineract-provider/src/main/java/org/apache/fineract/adhocquery/service/AdHocWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -137,7 +137,7 @@ public CommandProcessingResult disableAdHocQuery(Long 
adHocId) {
              * Checking the adhocquery present in DB or not using adHocId
              */
             final AdHoc adHoc = 
this.adHocRepository.findById(adHocId).orElseThrow(() -> new 
AdHocNotFoundException(adHocId));
-            adHoc.disableActive();
+            adHoc.setActive(true);

Review Comment:
   I just checked the original code... let's leave it as is... you converted it 
correctly... the old naming of the functions was completely misleading.



-- 
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