From 191a8011ef5e8ae2a4446b9b357e121272526364 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Sun, 31 Jan 2021 14:33:19 +0100 Subject: [fixes #1064] Only show super()-warning if lombok generates a method --- .../eclipse/handlers/HandleEqualsAndHashCode.java | 48 +++++++++++----------- .../javac/handlers/HandleEqualsAndHashCode.java | 48 +++++++++++----------- .../DataWithOverrideEqualsAndHashCode.java | 25 +++++++++++ .../DataWithOverrideEqualsAndHashCode.java | 25 +++++++++++ .../before/DataWithOverrideEqualsAndHashCode.java | 18 ++++++++ 5 files changed, 116 insertions(+), 48 deletions(-) create mode 100644 test/transform/resource/after-delombok/DataWithOverrideEqualsAndHashCode.java create mode 100644 test/transform/resource/after-ecj/DataWithOverrideEqualsAndHashCode.java create mode 100644 test/transform/resource/before/DataWithOverrideEqualsAndHashCode.java diff --git a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java index deb19c00..8115a91f 100755 --- a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java +++ b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java @@ -168,30 +168,6 @@ public class HandleEqualsAndHashCode extends EclipseAnnotationHandler