Skip to content

Commit

Permalink
Fix: fixed #292 (now suggesting Deque instead of Dequeue)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucanonym committed Oct 12, 2023
1 parent fe5c585 commit 391a7f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
});
Expand Down

0 comments on commit 391a7f8

Please sign in to comment.