aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rwxr-xr-xsrc/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java4
-rw-r--r--src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
index d5fa5618..2f0ce227 100755
--- a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
+++ b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
@@ -237,10 +237,6 @@ public class HandleEqualsAndHashCode extends EclipseAnnotationHandler<EqualsAndH
cacheHashCode = false;
} else {
createHashCodeCacheField(typeNode, errorNode.get());
- if (!isFinal) {
- String msg = "Caching the result of hashCode for non-final type.";
- errorNode.addWarning(msg);
- }
}
}
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);
- }
}
}