Skip to content

Commit 70eced6

Browse files
committed
delete unused predicate that couldn't be imported from outside the folder
1 parent 8eefa4c commit 70eced6

File tree

1 file changed

+0
-4
lines changed
  • java/ql/src/Violations of Best Practice/Naming Conventions

1 file changed

+0
-4
lines changed

java/ql/src/Violations of Best Practice/Naming Conventions/Shadowing.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import java
22

3-
predicate initializedToField(LocalVariableDecl d, Field f) {
4-
exists(LocalVariableDeclExpr e | e.getVariable() = d and f.getAnAccess() = e.getInit())
5-
}
6-
73
predicate getterFor(Method m, Field f) {
84
m.getName().matches("get%") and
95
m.getDeclaringType() = f.getDeclaringType() and

0 commit comments

Comments
 (0)