sheetalshah1007 commented on code in PR #304:
URL: https://github.com/apache/atlas/pull/304#discussion_r1998091167


##########
repository/src/main/java/org/apache/atlas/glossary/GlossaryService.java:
##########
@@ -1237,6 +1273,16 @@ List<T> getPaginatedList() {
             return ret;
         }
 
+        List<T> getPaginatedList(int offset, int limit) {
+            if (offset >= maxSize) {
+                return Collections.emptyList();
+            }
+
+            int pageStart = Math.max(0, offset);

Review Comment:
   removed pageStart usage and pageEnd is renamed to `localPageEnd`



-- 
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: dev-unsubscr...@atlas.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to