Skip to content

Commit 1775bde

Browse files
committed
Java: Remove redundant qualifiers.
1 parent 26cf8df commit 1775bde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

java/ql/lib/semmle/code/java/dataflow/TypeFlow.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ private import semmle.code.java.dataflow.internal.BaseSSA
1414
private import semmle.code.java.controlflow.Guards
1515
private import codeql.typeflow.TypeFlow
1616

17-
private module Input implements TypeFlowInput<J::Location> {
17+
private module Input implements TypeFlowInput<Location> {
1818
private newtype TTypeFlowNode =
1919
TField(Field f) { not f.getType() instanceof PrimitiveType } or
2020
TSsa(BaseSsaVariable ssa) { not ssa.getSourceVariable().getType() instanceof PrimitiveType } or
@@ -61,7 +61,7 @@ private module Input implements TypeFlowInput<J::Location> {
6161
}
6262
}
6363

64-
class Type = J::RefType;
64+
class Type = RefType;
6565

6666
/**
6767
* Holds if `arg` is an argument for the parameter `p` in a private callable.
@@ -142,7 +142,7 @@ private module Input implements TypeFlowInput<J::Location> {
142142
}
143143

144144
predicate exactTypeBase(TypeFlowNode n, RefType t) {
145-
exists(J::ClassInstanceExpr e |
145+
exists(ClassInstanceExpr e |
146146
n.asExpr() = e and
147147
e.getType() = t and
148148
not e instanceof FunctionalExpr and
@@ -349,7 +349,7 @@ private module Input implements TypeFlowInput<J::Location> {
349349

350350
cached
351351
private module TypeFlowBounds {
352-
private module TypeFlow = Make<J::Location, Input>;
352+
private module TypeFlow = Make<Location, Input>;
353353

354354
/**
355355
* Holds if the runtime type of `f` is bounded by `t` and if this bound is

0 commit comments

Comments
 (0)