diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-06-19 00:47:00 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-06-19 00:48:56 +0200 |
commit | ed8ea0d8043cb8df6ae3fb962ab3a2087f4adeb6 (patch) | |
tree | 64f716ceb6de12c77a9d48494feac48f8759934f /test/transform/resource/after-ecj | |
parent | 39d2c280fbaced63f5697481af6b37ab81891798 (diff) | |
download | lombok-ed8ea0d8043cb8df6ae3fb962ab3a2087f4adeb6.tar.gz lombok-ed8ea0d8043cb8df6ae3fb962ab3a2087f4adeb6.tar.bz2 lombok-ed8ea0d8043cb8df6ae3fb962ab3a2087f4adeb6.zip |
#1543: First primitives, then primitive wrappers, then other references
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/ValueStaticConstructorOf.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/transform/resource/after-ecj/ValueStaticConstructorOf.java b/test/transform/resource/after-ecj/ValueStaticConstructorOf.java index 6cf71ed4..87883566 100644 --- a/test/transform/resource/after-ecj/ValueStaticConstructorOf.java +++ b/test/transform/resource/after-ecj/ValueStaticConstructorOf.java @@ -19,23 +19,23 @@ public final @Value(staticConstructor = "of") class ValueStaticConstructorOf { if ((! (o instanceof ValueStaticConstructorOf))) return false; final ValueStaticConstructorOf other = (ValueStaticConstructorOf) o; - final java.lang.Object this$name = this.getName(); - final java.lang.Object other$name = other.getName(); - if (((this$name == null) ? (other$name != null) : (! this$name.equals(other$name)))) - return false; final java.lang.Object this$price = this.getPrice(); final java.lang.Object other$price = other.getPrice(); if (((this$price == null) ? (other$price != null) : (! this$price.equals(other$price)))) return false; + final java.lang.Object this$name = this.getName(); + final java.lang.Object other$name = other.getName(); + if (((this$name == null) ? (other$name != null) : (! this$name.equals(other$name)))) + return false; return true; } public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() { final int PRIME = 59; int result = 1; - final java.lang.Object $name = this.getName(); - result = ((result * PRIME) + (($name == null) ? 43 : $name.hashCode())); final java.lang.Object $price = this.getPrice(); result = ((result * PRIME) + (($price == null) ? 43 : $price.hashCode())); + final java.lang.Object $name = this.getName(); + result = ((result * PRIME) + (($name == null) ? 43 : $name.hashCode())); return result; } public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { @@ -44,4 +44,4 @@ public final @Value(staticConstructor = "of") class ValueStaticConstructorOf { public static @java.lang.SuppressWarnings("all") ValueStaticConstructorOf of(final String name, final Double price) { return new ValueStaticConstructorOf(name, price); } -}
\ No newline at end of file +} |