You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user types 'delete -11111' , the user would get the error message that an instrument does not exist at that index when in reality the index itself is invalid. Needs a more appropriate error message.
We agree that in Java all index numbers of ArrayLists and Arrays must be non-negative. Since we had used an ArrayList to store the added instruments in the program, -1111 should be an invalid index instead of being treated as a legitimate index with no element at that index, like it is portrayed in the error message. So, the reported bug is accepted.
However, the severity is downgraded to Low since the bug only has to do with phrasing of the error message but the feature works as expected.
When the user types 'delete -11111' , the user would get the error message that an instrument does not exist at that index when in reality the index itself is invalid. Needs a more appropriate error message.
[original: nus-cs2113-AY2122S1/pe-interim#2953] [original labels: severity.Medium type.FunctionalityBug]
The text was updated successfully, but these errors were encountered: