diff options
-rw-r--r-- | test/transform/resource/after-delombok/EqualsAndHashCodeCache.java | 2 | ||||
-rw-r--r-- | test/transform/resource/messages-delombok/EqualsAndHashCodeCache.java.messages | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeCache.java b/test/transform/resource/after-delombok/EqualsAndHashCodeCache.java index 8fecbdbe..a028cca7 100644 --- a/test/transform/resource/after-delombok/EqualsAndHashCodeCache.java +++ b/test/transform/resource/after-delombok/EqualsAndHashCodeCache.java @@ -126,7 +126,7 @@ class EqualsAndHashCode4 extends EqualsAndHashCode { return result; } } -class EqualsAndHashCode5 extends EqualsAndHashCode { +final class EqualsAndHashCode5 extends EqualsAndHashCode { @java.lang.SuppressWarnings("all") private transient int $hashCodeCache = 0; @java.lang.Override diff --git a/test/transform/resource/messages-delombok/EqualsAndHashCodeCache.java.messages b/test/transform/resource/messages-delombok/EqualsAndHashCodeCache.java.messages new file mode 100644 index 00000000..24d202bd --- /dev/null +++ b/test/transform/resource/messages-delombok/EqualsAndHashCodeCache.java.messages @@ -0,0 +1,2 @@ +1 Not caching the result of hashCode: Annotated type is not final. +23 Not caching the result of hashCode: Annotated type is not final.
\ No newline at end of file |