aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Ouwens <jan.ouwens@gmail.com>2013-08-11 20:39:30 +0200
committerJan Ouwens <jan.ouwens@gmail.com>2013-08-11 20:39:30 +0200
commit7faff42d85c2e21b9a3b2e0014ebc36dbe5eb155 (patch)
treee6241c0434d4d676fdd5877fcc77efbd4b70f03e
parentdeed98be16e5099af52d951fc611f86a82a42858 (diff)
downloadlombok-7faff42d85c2e21b9a3b2e0014ebc36dbe5eb155.tar.gz
lombok-7faff42d85c2e21b9a3b2e0014ebc36dbe5eb155.tar.bz2
lombok-7faff42d85c2e21b9a3b2e0014ebc36dbe5eb155.zip
Fixed two typos
-rw-r--r--src/core/lombok/core/Version.java2
-rw-r--r--src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/core/Version.java b/src/core/lombok/core/Version.java
index bd83c1f8..867694e0 100644
--- a/src/core/lombok/core/Version.java
+++ b/src/core/lombok/core/Version.java
@@ -29,7 +29,7 @@ public class Version {
// Note: In 'X.Y.Z', if Z is odd, its a snapshot build built from the repository, so many different 0.10.3 versions can exist, for example.
// Official builds always end in an even number. (Since 0.10.2).
private static final String VERSION = "0.12.1";
- private static final String RELEASE_NAME = "Angry Butterfy";
+ private static final String RELEASE_NAME = "Angry Butterfly";
private Version() {
//Prevent instantiation
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);