aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
diff options
context:
space:
mode:
authorAndre Brait <andrebrait@gmail.com>2020-09-14 19:59:54 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-09-24 22:25:15 +0200
commitee6c0ca7f2274b24571afdc8586eff9052f5eda1 (patch)
treedd31672a46b827f47875e104ec9214cb0b8bab21 /src/core/lombok/javac
parent8d004c0638e4b865c38527a500c493288328eac8 (diff)
downloadlombok-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.java4
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);
- }
}
}