diff options
author | Andre Brait <andrebrait@gmail.com> | 2020-09-14 19:59:54 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-09-24 22:25:15 +0200 |
commit | ee6c0ca7f2274b24571afdc8586eff9052f5eda1 (patch) | |
tree | dd31672a46b827f47875e104ec9214cb0b8bab21 /src/core/lombok/javac | |
parent | 8d004c0638e4b865c38527a500c493288328eac8 (diff) | |
download | lombok-ee6c0ca7f2274b24571afdc8586eff9052f5eda1.tar.gz lombok-ee6c0ca7f2274b24571afdc8586eff9052f5eda1.tar.bz2 lombok-ee6c0ca7f2274b24571afdc8586eff9052f5eda1.zip |
Remove warning for final classes
Diffstat (limited to 'src/core/lombok/javac')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java index d90fdada..ea1820f8 100644 --- a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java +++ b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java @@ -211,10 +211,6 @@ public class HandleEqualsAndHashCode extends JavacAnnotationHandler<EqualsAndHas cacheHashCode = false; } else { createHashCodeCacheField(typeNode, source.get()); - if (!isFinal) { - String msg = "Caching the result of hashCode for non-final type."; - source.addWarning(msg); - } } } |