From 51b031c732a86cb28b35c9b6c9b31916d3846c88 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Sat, 17 Jul 2010 06:58:00 +0200 Subject: In our efforts to eliminate annotations for delombok, we also eliminated all traces of the annotation for lombok itself. This didn't work well with @Data and how it interacts with existing @Getter/@Setter annotations. @Data scans for those annotations to determine that it shouldn't do anything. By deleting them, this process wasn't working anymore. --- src/core/lombok/javac/handlers/JavacHandlerUtil.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core/lombok/javac') diff --git a/src/core/lombok/javac/handlers/JavacHandlerUtil.java b/src/core/lombok/javac/handlers/JavacHandlerUtil.java index c968a9f7..499340bc 100644 --- a/src/core/lombok/javac/handlers/JavacHandlerUtil.java +++ b/src/core/lombok/javac/handlers/JavacHandlerUtil.java @@ -89,7 +89,6 @@ public class JavacHandlerUtil { //This really shouldn't happen, but if it does, better just break delombok instead of breaking everything. return; } - parentNode.removeChild(annotation); JCCompilationUnit unit = (JCCompilationUnit) annotation.top().get(); deleteImportFromCompilationUnit(unit, annotationType.getName()); -- cgit