We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 764feed commit 84eda62Copy full SHA for 84eda62
1 file changed
src/checkers/inference/model/ArithmeticConstraint.java
@@ -4,7 +4,7 @@
4
import java.util.Objects;
5
6
import org.checkerframework.javacutil.BugInCF;
7
-import com.sun.source.tree.Tree.Kind;
+import com.sun.source.tree.Tree;
8
9
/**
10
* Represents a constraint between the result of an arithmetic operation and its two operands.
@@ -39,7 +39,7 @@ private ArithmeticOperationKind(String opSymbol) {
39
* @param kind a {@link Tree.Kind} for an arithmetic operation
40
* @return the corresponding {@link ArithmeticOperationKind} for the given arithmetic operation
41
*/
42
- public static ArithmeticOperationKind fromTreeKind(Kind kind) {
+ public static ArithmeticOperationKind fromTreeKind(Tree.Kind kind) {
43
switch (kind) {
44
case PLUS:
45
case PLUS_ASSIGNMENT:
0 commit comments