Skip to content

Commit 84eda62

Browse files
authored
Expand Kind to Tree.Kind (#392)
1 parent 764feed commit 84eda62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/checkers/inference/model/ArithmeticConstraint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import java.util.Objects;
55

66
import org.checkerframework.javacutil.BugInCF;
7-
import com.sun.source.tree.Tree.Kind;
7+
import com.sun.source.tree.Tree;
88

99
/**
1010
* Represents a constraint between the result of an arithmetic operation and its two operands.
@@ -39,7 +39,7 @@ private ArithmeticOperationKind(String opSymbol) {
3939
* @param kind a {@link Tree.Kind} for an arithmetic operation
4040
* @return the corresponding {@link ArithmeticOperationKind} for the given arithmetic operation
4141
*/
42-
public static ArithmeticOperationKind fromTreeKind(Kind kind) {
42+
public static ArithmeticOperationKind fromTreeKind(Tree.Kind kind) {
4343
switch (kind) {
4444
case PLUS:
4545
case PLUS_ASSIGNMENT:

0 commit comments

Comments
 (0)