diff --git a/autograder-core/src/main/java/de/firemage/autograder/core/check/api/OldCollectionCheck.java b/autograder-core/src/main/java/de/firemage/autograder/core/check/api/OldCollectionCheck.java index a16ab2f9..2f4f5b18 100644 --- a/autograder-core/src/main/java/de/firemage/autograder/core/check/api/OldCollectionCheck.java +++ b/autograder-core/src/main/java/de/firemage/autograder/core/check/api/OldCollectionCheck.java @@ -30,7 +30,7 @@ public void process(CtConstructorCall ctConstructorCall) { switch (ctConstructorCall.getType().getQualifiedName()) { case "java.util.Vector" -> reportProblem(ctConstructorCall, "Vector", "ArrayList"); case "java.util.Hashtable" -> reportProblem(ctConstructorCall, "Hashtable", "HashMap"); - case "java.util.Stack" -> reportProblem(ctConstructorCall, "Stack", "Dequeue"); + case "java.util.Stack" -> reportProblem(ctConstructorCall, "Stack", "Deque"); } } });