aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorAndre Brait <andrebrait@gmail.com>2020-07-21 12:56:48 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-09-24 22:25:15 +0200
commit0808d4271a495e1b6ea4f9a636e63a1c62567133 (patch)
treecb395822deeea43570744867b6b722c88a65143d /src/core/lombok
parent32db0ef71022040cb574a96d448f4b44518f8637 (diff)
downloadlombok-0808d4271a495e1b6ea4f9a636e63a1c62567133.tar.gz
lombok-0808d4271a495e1b6ea4f9a636e63a1c62567133.tar.bz2
lombok-0808d4271a495e1b6ea4f9a636e63a1c62567133.zip
Remove CacheStrategy compilation unit for javac
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
index c2da0274..58078038 100644
--- a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
+++ b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
@@ -85,6 +85,7 @@ public class HandleEqualsAndHashCode extends JavacAnnotationHandler<EqualsAndHas
handleFlagUsage(annotationNode, ConfigurationKeys.EQUALS_AND_HASH_CODE_FLAG_USAGE, "@EqualsAndHashCode");
deleteAnnotationIfNeccessary(annotationNode, EqualsAndHashCode.class);
+ deleteImportFromCompilationUnit(annotationNode, CacheStrategy.class.getName());
EqualsAndHashCode ann = annotation.getInstance();
java.util.List<Included<JavacNode, EqualsAndHashCode.Include>> members = InclusionExclusionUtils.handleEqualsAndHashCodeMarking(annotationNode.up(), annotation, annotationNode);
JavacNode typeNode = annotationNode.up();