diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-05-06 22:09:13 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-05-06 22:09:13 +0200 |
commit | f98bf919cc6701e98087d39fefb7bbfc85688834 (patch) | |
tree | eae8f7209e1e26d313747ab7e1ae7bee185609c0 /test/transform/resource/messages-delombok | |
parent | 2e27817ca743858c7188128f96c8c32b894ea42e (diff) | |
download | lombok-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')
-rw-r--r-- | test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages | 2 |
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). |