diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-03-26 21:11:30 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-03-26 21:11:30 +0100 |
commit | 4d24542dac058fcd7c341f9d17c4e8170a8d83a2 (patch) | |
tree | 945083ad989cb2abfb84f02ed88bc8b21ef87827 /test/transform/resource/messages-delombok | |
parent | db71f39c271f1f8124fac96daa68d8b012fbf390 (diff) | |
download | lombok-4d24542dac058fcd7c341f9d17c4e8170a8d83a2.tar.gz lombok-4d24542dac058fcd7c341f9d17c4e8170a8d83a2.tar.bz2 lombok-4d24542dac058fcd7c341f9d17c4e8170a8d83a2.zip |
[i660] canEqual is now protected instead of public.
Also fixed the total lack of canEqual in the usage examples.
Diffstat (limited to 'test/transform/resource/messages-delombok')
2 files changed, 3 insertions, 5 deletions
diff --git a/test/transform/resource/messages-delombok/EqualsAndHashCodeWithExistingMethods.java.messages b/test/transform/resource/messages-delombok/EqualsAndHashCodeWithExistingMethods.java.messages index b3490fd0..6f42cd7d 100644 --- a/test/transform/resource/messages-delombok/EqualsAndHashCodeWithExistingMethods.java.messages +++ b/test/transform/resource/messages-delombok/EqualsAndHashCodeWithExistingMethods.java.messages @@ -1,3 +1,2 @@ -1 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated). -10 Not generating equals and hashCode: A method with one of those names already exists. (Either all or none of these methods will be generated). -19 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated). +1 Not generating equals and hashCode: A method with one of those names already exists. (Either both or none of these methods will be generated). +10 Not generating equals and hashCode: A method with one of those names already exists. (Either both or none of these methods will be generated). diff --git a/test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages b/test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages index 75ddfa54..d3119bd6 100644 --- a/test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages +++ b/test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages @@ -1,2 +1 @@ -4 Not generating equals: One of equals, hashCode, and canEqual exists. You should either write all of these or none of these (in the latter case, lombok generates them). -15 Not generating equals and hashCode: One of equals, hashCode, and canEqual exists. You should either write all of these or none of these (in the latter case, lombok generates them). +4 Not generating equals: One of equals or hashCode exists. You should either write both of these or none of these (in the latter case, lombok generates them). |