justinmclean commented on code in PR #9128:
URL: https://github.com/apache/gravitino/pull/9128#discussion_r2532546023
##########
clients/cli/src/main/java/org/apache/gravitino/cli/FullName.java:
##########
@@ -215,7 +215,7 @@ public boolean hasNamePart(int partNo) {
int length = names.length;
int position = partNo;
- return position <= length;
+ return position >= 0 && position <= length;
Review Comment:
While I mentioned a negative value in the issue, we could change this to a
positive value, as 0 is not a valid option either.
--
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]