From 391a7f867dd964c45c30d92ed93ba7c6e7c54560 Mon Sep 17 00:00:00 2001 From: Luca Pallo Date: Thu, 12 Oct 2023 11:26:00 +0200 Subject: [PATCH] Fix: fixed #292 (now suggesting Deque instead of Dequeue) --- .../firemage/autograder/core/check/api/OldCollectionCheck.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } } });