diff options
-rw-r--r-- | src/core/lombok/core/LombokNode.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/core/LombokNode.java b/src/core/lombok/core/LombokNode.java index 4a57e080..90e55757 100644 --- a/src/core/lombok/core/LombokNode.java +++ b/src/core/lombok/core/LombokNode.java @@ -289,9 +289,9 @@ public abstract class LombokNode<A extends AST<A, L, N>, L extends LombokNode<A, ast.replaceNewWithExistingOld(oldNodes, newNode); } - @SuppressWarnings("unchecked") + @SuppressWarnings({"unchecked", "rawtypes"}) private void gatherAndRemoveChildren(Map<N, L> map) { - for (L child : children) child.gatherAndRemoveChildren(map); + for (LombokNode child : children) child.gatherAndRemoveChildren(map); ast.identityDetector.remove(get()); map.put(get(), (L) this); children.clear(); |