Skip to content

Conversation

bmuskalla
Copy link
Contributor

Split out of 6407

Removed the Stack#push part as this is already modelled in Collections.qll

@bmuskalla bmuskalla added the Java label Aug 26, 2021
@bmuskalla bmuskalla requested a review from a team as a code owner August 26, 2021 10:33
@bmuskalla bmuskalla added the no-change-note-required This PR does not need a change note label Aug 26, 2021
this.hasName("toString") and returnsArgNo = 1
)
or
this.getDeclaringType().getASourceSupertype*().hasQualifiedName("java.util", "Stack") and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed but not re-added -- if the tests don't notice that, we're missing a test. Please add a basic test for these methods.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in the PR comment, I believe this is covered by Collections.qll

Co-authored-by: Chris Smowton <smowton@github.com>
@smowton smowton merged commit 4e243f9 into github:main Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants