diff --git a/src/main/java/de/dhbwstuttgart/typeinference/result/ResultSet.java b/src/main/java/de/dhbwstuttgart/typeinference/result/ResultSet.java index b265b375..f095c364 100644 --- a/src/main/java/de/dhbwstuttgart/typeinference/result/ResultSet.java +++ b/src/main/java/de/dhbwstuttgart/typeinference/result/ResultSet.java @@ -18,13 +18,13 @@ import static de.dhbwstuttgart.typeinference.result.ResultPairMap.RESULT_PAIRS; public class ResultSet { public final Set results; - public Set genIns; + public Set> genIns; public ResultSet(Set set){ this.results = set; - this.genIns = results.stream().filter(a -> a instanceof PairTPHsmallerTPH) -- .map(b -> new GenericInsertPair( (TypePlaceholder)(b.getLeft()), (TypePlaceholder) -- .collect(Collectors.toCollection(HashSet::new)); + this.genIns = results.stream().filter(a -> a instanceof PairTPHsmallerTPH) + //.map(b -> new GenericInsertPair( (TypePlaceholder)(b.getLeft()), (TypePlaceholder)(b.getRight()))) + .collect(Collectors.toCollection(HashSet::new)); } public boolean contains(ResultPair toCheck) { @@ -291,4 +291,5 @@ class RelatedTypeWalker implements ResultSetVisitor { @Override public void visit(GenericRefType genericRefType) { - } \ No newline at end of file + } +} \ No newline at end of file