From 3e21a15a11a4ba5d7c6bc28e9bb433e474f0d54e Mon Sep 17 00:00:00 2001 From: waiet <00wlado@azet.sk> Date: Tue, 11 Jun 2019 15:47:42 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"Optimization=20logging=20of=20removin?= =?UTF-8?q?g=20annotate=20for=20class,=20that=20not=20include=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin/removeannotation/RemoveAnnotationPlugin.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/src/main/java/org/jvnet/jaxb2_commons/plugin/removeannotation/RemoveAnnotationPlugin.java b/plugin/src/main/java/org/jvnet/jaxb2_commons/plugin/removeannotation/RemoveAnnotationPlugin.java index bb28140..600cee6 100644 --- a/plugin/src/main/java/org/jvnet/jaxb2_commons/plugin/removeannotation/RemoveAnnotationPlugin.java +++ b/plugin/src/main/java/org/jvnet/jaxb2_commons/plugin/removeannotation/RemoveAnnotationPlugin.java @@ -364,9 +364,6 @@ private void removeAnnotation(final JCodeModel codeModel, } } else { - if (annotatable.annotations() == null || annotatable.annotations().isEmpty()) { - return; - } JClass annotationClass = codeModel.ref(aClass); JAnnotationUse annotationUse = null;