diff --git a/src/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java b/src/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java index e38e1443..0e396810 100644 --- a/src/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java +++ b/src/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java @@ -518,7 +518,7 @@ public class TypeUnifyTask extends RecursiveTask>> { /* auskommentiert um alle Max und min Betrachtung auszuschalten ANFANG */ if (!result.isEmpty() && !isUndefinedPairSetSet(res)) { - if (nextSetasList.iterator().hasNext() && nextSetasList.iterator().next().stream().filter(x -> x.getLhsType().getName().equals("D")).findFirst().isPresent() && nextSetasList.size()>1) + if (nextSetasList.iterator().hasNext() && nextSetasList.iterator().next().stream().filter(x -> x.getLhsType().getName().equals("B")).findFirst().isPresent() && nextSetasList.size()>1) System.out.print(""); Iterator> nextSetasListIt = new ArrayList>(nextSetasList).iterator(); if (variance == 1) { @@ -529,6 +529,9 @@ public class TypeUnifyTask extends RecursiveTask>> { (oup.compare(a, a_next) == 1)) { nextSetasList.remove(a_next); } + else { + System.out.println(""); + } } } else { if (variance == -1) { @@ -539,6 +542,9 @@ public class TypeUnifyTask extends RecursiveTask>> { (oup.compare(a, a_next) == -1)) { nextSetasList.remove(0); } + else { + System.out.println(""); + } } } else if (variance == 0) {