Skip to content

Commit

Permalink
Remove an unnecessary @SuppressWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst committed Jun 4, 2020
1 parent 0fc2d62 commit 4ecaa4c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ private static void addToSetMap(
* @return a list of type records that represents the sequence of directSupertypes between
* subtype and target
*/
@SuppressWarnings("JdkObsolete") // I tried replacing Stack with ArrayDeque, but tests fail.
private static List<TypeRecord> depthFirstSearchForSupertype(
final TypeElement subtype, final TypeElement target, final Types types) {
ArrayDeque<TypeRecord> pathFromRoot = new ArrayDeque<>();
Expand Down

0 comments on commit 4ecaa4c

Please sign in to comment.