vyommani commented on code in PR #741:
URL: https://github.com/apache/ranger/pull/741#discussion_r2567459969
##########
agents-common/src/main/java/org/apache/ranger/plugin/util/SearchFilter.java:
##########
@@ -182,6 +186,22 @@ public void setStartIndex(int startIndex) {
this.startIndex = startIndex;
}
+ public int getBeginIndex() {
+ return beginIndex;
+ }
+
+ public void setBeginIndex(int beginIndex) {
+ this.beginIndex = beginIndex;
Review Comment:
I think we should validate that beginIndex >= 0. What’s your opinion?
--
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]