gravitino icon indicating copy to clipboard operation
gravitino copied to clipboard

[Improvement] Fix hasNamePart in FullName.java to check for negative indexes

Open justinmclean opened this issue 1 month ago • 2 comments

What would you like to be improved?

A negative partNo can be passed in; we should check that position >= 0 in the return.

How should we improve?

Fix and add a unit test.

justinmclean avatar Nov 14 '25 06:11 justinmclean

@justinmclean Can I pick this?

HarshMehta112 avatar Nov 14 '25 12:11 HarshMehta112

Sure, if you have any questions, just ask.

justinmclean avatar Nov 14 '25 12:11 justinmclean