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
For property Iterator_RemoveOnce, we noticed that it would give false alarms on ListIterator if the ListIterator used previous() to move the iterator. Following is one snippet illustrating how JavaMOP can raise alarms while the program is legal:
This operation is allowed in property ListIterator_RemoveOnce, but as ListIterator is a subclass of Iterator, it is still considered illegal by Iterator_RemoveOnce. We suggest to have Iterator_RemoveOnce property to exclude ListIterator, as there is already a good property specifically for it.
The text was updated successfully, but these errors were encountered:
For property Iterator_RemoveOnce, we noticed that it would give false alarms on ListIterator if the ListIterator used previous() to move the iterator. Following is one snippet illustrating how JavaMOP can raise alarms while the program is legal:
This operation is allowed in property ListIterator_RemoveOnce, but as ListIterator is a subclass of Iterator, it is still considered illegal by Iterator_RemoveOnce. We suggest to have Iterator_RemoveOnce property to exclude ListIterator, as there is already a good property specifically for it.
The text was updated successfully, but these errors were encountered: