Skip to content

Commit

Permalink
Test commit: Check tests pass when removing Field.getSourceDeclaratio…
Browse files Browse the repository at this point in the history
…n() and Field.isSourceDeclaration()
  • Loading branch information
igfoo committed Sep 18, 2024
1 parent ccefee8 commit 964e877
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions java/ql/lib/semmle/code/java/Member.qll
Original file line number Diff line number Diff line change
Expand Up @@ -793,14 +793,6 @@ class Field extends Member, ExprParent, @field, Variable {
)
}

/**
* DEPRECATED: The result is always `this`.
*/
deprecated Field getSourceDeclaration() { result = this }

/** DEPRECATED: This always holds. */
deprecated predicate isSourceDeclaration() { any() }

override predicate isPublic() {
Member.super.isPublic()
or
Expand Down

0 comments on commit 964e877

Please sign in to comment.