aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-02-09 22:45:45 +0100
committerRoel Spilker <r.spilker@gmail.com>2017-02-09 22:52:38 +0100
commit70f77f928ac7a6edf3ef91a41399c9a79561c871 (patch)
tree228cfbb2ec9f05bf8aa6881c3de5e4037bd9558d /test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
parentb42fef8edc8b3d5458c74c8b049c0cbb842b1ca1 (diff)
downloadlombok-70f77f928ac7a6edf3ef91a41399c9a79561c871.tar.gz
lombok-70f77f928ac7a6edf3ef91a41399c9a79561c871.tar.bz2
lombok-70f77f928ac7a6edf3ef91a41399c9a79561c871.zip
[i1014] Only add lombok.Generated if it is explicitly turned on
Diffstat (limited to 'test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java')
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java b/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
index 679ca99d..3bf4b661 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
@@ -10,7 +10,6 @@ class EqualsAndHashCodeWithOnParam {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(@Nullable final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeWithOnParam)) return false;
@@ -29,14 +28,12 @@ class EqualsAndHashCodeWithOnParam {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(@Nullable final java.lang.Object other) {
return other instanceof EqualsAndHashCodeWithOnParam;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -49,4 +46,4 @@ class EqualsAndHashCodeWithOnParam {
result = result * PRIME + ($b == null ? 43 : $b.hashCode());
return result;
}
-} \ No newline at end of file
+}