diff --git a/src/main/java/de/dhbwstuttgart/parser/scope/JavaClassRegistry.java b/src/main/java/de/dhbwstuttgart/parser/scope/JavaClassRegistry.java index 670a21db..1ab04244 100644 --- a/src/main/java/de/dhbwstuttgart/parser/scope/JavaClassRegistry.java +++ b/src/main/java/de/dhbwstuttgart/parser/scope/JavaClassRegistry.java @@ -31,7 +31,7 @@ public class JavaClassRegistry { if (name.equals(new JavaClassName(className))) return name; } - throw new NotImplementedException(); + throw new RuntimeException("Class " + className + " not found!"); } @Override diff --git a/src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java b/src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java index 6920dab2..e1c82e94 100644 --- a/src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java +++ b/src/main/java/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java @@ -546,9 +546,6 @@ public class TYPEStmt implements StatementVisitor { GenericsResolver resolver = getResolverInstance(); Set> oneMethodConstraints = generateConstraint(superCall, assumption, info, resolver); - System.out.println(">>>"); - System.out.println(oneMethodConstraints); - System.out.println("<<<"); methodConstraints.addAll(oneMethodConstraints); } break;