Skip to content

Commit b5f31c7

Browse files
committed
revert unrelated changes
1 parent 4ce6043 commit b5f31c7

File tree

2 files changed

+3
-29
lines changed

2 files changed

+3
-29
lines changed

default.jaif

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/checkers/inference/InferenceTypeHierarchy.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
import org.checkerframework.framework.type.SubtypeVisitHistory;
1010
import org.checkerframework.javacutil.BugInCF;
1111

12-
import checkers.inference.model.Slot;
13-
1412
import javax.lang.model.element.AnnotationMirror;
1513

14+
import checkers.inference.model.Slot;
15+
1616
/**
1717
* The InferenceTypeHierarchy along with the InferenceQualifierHierarchy is responsible for
1818
* creating a subtype and equality constraints. Normally the methods of these two classes are queried
@@ -27,6 +27,7 @@ public class InferenceTypeHierarchy extends DefaultTypeHierarchy {
2727
private final AnnotationMirror varAnnot;
2828
// TODO: Think this through, add any missing constraints
2929

30+
3031
/**
3132
* Constructs an instance of {@code TypeHierarchy} for the type system
3233
* whose qualifiers represented in qualifierHierarchy.
@@ -51,12 +52,6 @@ public StructuralEqualityComparer createEqualityComparer() {
5152
return new InferenceEqualityComparer(this.typeargVisitHistory,
5253
InferenceQualifierHierarchy.findVarAnnot(qualifierHierarchy.getTopAnnotations()));
5354
}
54-
55-
@Override
56-
public boolean isSubtype(
57-
final AnnotatedTypeMirror subtype, final AnnotatedTypeMirror supertype) {
58-
return isSubtype(subtype, supertype, varAnnot);
59-
}
6055
}
6156

6257
class InferenceEqualityComparer extends StructuralEqualityComparer {

0 commit comments

Comments
 (0)