mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
delete unused predicate that couldn't be imported from outside the folder
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
import java
|
||||
|
||||
predicate initializedToField(LocalVariableDecl d, Field f) {
|
||||
exists(LocalVariableDeclExpr e | e.getVariable() = d and f.getAnAccess() = e.getInit())
|
||||
}
|
||||
|
||||
predicate getterFor(Method m, Field f) {
|
||||
m.getName().matches("get%") and
|
||||
m.getDeclaringType() = f.getDeclaringType() and
|
||||
|
||||
Reference in New Issue
Block a user