diff options
| author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-08-11 19:06:16 -0700 |
|---|---|---|
| committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-08-11 19:06:16 -0700 |
| commit | 613d7e9e0cc14e9f789e81b52d72dbef24aff2e9 (patch) | |
| tree | d1aa5a65ddf843bffa5e684b55068065d12cb75b /src/core/lombok/eclipse | |
| parent | deed98be16e5099af52d951fc611f86a82a42858 (diff) | |
| parent | 05b8501071b7a7d1a31713c607785b94119767d0 (diff) | |
| download | lombok-613d7e9e0cc14e9f789e81b52d72dbef24aff2e9.tar.gz lombok-613d7e9e0cc14e9f789e81b52d72dbef24aff2e9.tar.bz2 lombok-613d7e9e0cc14e9f789e81b52d72dbef24aff2e9.zip | |
Merge pull request #38 from jqno/master
Fixed two typos
Diffstat (limited to 'src/core/lombok/eclipse')
| -rw-r--r-- | src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java index 6990e609..3c8a7039 100644 --- a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java +++ b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java @@ -221,7 +221,7 @@ public class HandleEqualsAndHashCode extends EclipseAnnotationHandler<EqualsAndH // The user code couldn't possibly (barring really weird subclassing shenanigans) be in a shippable state anyway; the implementations of these 3 methods are // all inter-related and should be written by the same entity. String msg = String.format("Not generating %s: 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).", + "You should either write all of these or none of these (in the latter case, lombok generates them).", equalsExists == MemberExistsResult.NOT_EXISTS && hashCodeExists == MemberExistsResult.NOT_EXISTS ? "equals and hashCode" : equalsExists == MemberExistsResult.NOT_EXISTS ? "equals" : "hashCode"); errorNode.addWarning(msg); |
