aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-05-06 22:09:13 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-05-06 22:09:13 +0200
commitf98bf919cc6701e98087d39fefb7bbfc85688834 (patch)
treeeae8f7209e1e26d313747ab7e1ae7bee185609c0 /test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages
parent2e27817ca743858c7188128f96c8c32b894ea42e (diff)
downloadlombok-f98bf919cc6701e98087d39fefb7bbfc85688834.tar.gz
lombok-f98bf919cc6701e98087d39fefb7bbfc85688834.tar.bz2
lombok-f98bf919cc6701e98087d39fefb7bbfc85688834.zip
Fixed issue 513: If equals is present but hashCode isn't, @Data now generates a warning to explain this strange situation.
Diffstat (limited to 'test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages')
-rw-r--r--test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages b/test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages
new file mode 100644
index 00000000..9a0b29f3
--- /dev/null
+++ b/test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages
@@ -0,0 +1,2 @@
+4:1 Not generating equals: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
+15:1 Not generating equals and hashCode: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).