hmg65 commented on code in PR #2591:
URL: https://github.com/apache/fineract/pull/2591#discussion_r991717128


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/dataqueries/service/ReadWriteNonCoreDataServiceImpl.java:
##########
@@ -1203,11 +1203,11 @@ private CommandProcessingResult 
updateDatatableEntry(final String dataTableName,
 
         final GenericResultsetData grs = 
retrieveDataTableGenericResultSetForUpdate(appTable, dataTableName, appTableId, 
datatableId);
 
-        if (grs.hasNoEntries()) {
+        if (grs.getData().isEmpty()) {
             throw new DatatableNotFoundException(dataTableName, appTableId);
         }
 
-        if (grs.hasMoreThanOneEntry()) {

Review Comment:
   i have directly implemented it



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