aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/EqualsAndHashCode.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-07-27 23:25:37 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-11-16 22:18:29 +0100
commit9cfac4131ff33b247652ed3622491cbf8bf76721 (patch)
treec1f31d3577a308ea7b76bc847c73b2c40fc11333 /test/transform/resource/after-delombok/EqualsAndHashCode.java
parentff4f995507d23c1c9172de2f5fffaf0bfb6cf1ec (diff)
downloadlombok-9cfac4131ff33b247652ed3622491cbf8bf76721.tar.gz
lombok-9cfac4131ff33b247652ed3622491cbf8bf76721.tar.bz2
lombok-9cfac4131ff33b247652ed3622491cbf8bf76721.zip
The bulk of the effort for a new pretty printer.
Diffstat (limited to 'test/transform/resource/after-delombok/EqualsAndHashCode.java')
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCode.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCode.java b/test/transform/resource/after-delombok/EqualsAndHashCode.java
index d0ed4067..7ade594a 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCode.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCode.java
@@ -10,8 +10,8 @@ class EqualsAndHashCode {
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCode)) return false;
- final EqualsAndHashCode other = (EqualsAndHashCode)o;
- if (!other.canEqual((java.lang.Object)this)) return false;
+ final EqualsAndHashCode other = (EqualsAndHashCode) o;
+ if (!other.canEqual((java.lang.Object) this)) return false;
if (this.x != other.x) return false;
if (!java.util.Arrays.equals(this.y, other.y)) return false;
if (!java.util.Arrays.deepEquals(this.z, other.z)) return false;
@@ -56,7 +56,7 @@ final class EqualsAndHashCode2 {
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCode2)) return false;
- final EqualsAndHashCode2 other = (EqualsAndHashCode2)o;
+ final EqualsAndHashCode2 other = (EqualsAndHashCode2) o;
if (this.x != other.x) return false;
if (this.y != other.y) return false;
if (java.lang.Float.compare(this.f, other.f) != 0) return false;
@@ -72,10 +72,10 @@ final class EqualsAndHashCode2 {
int result = 1;
result = result * PRIME + this.x;
final long $y = this.y;
- result = result * PRIME + (int)($y >>> 32 ^ $y);
+ result = result * PRIME + (int) ($y >>> 32 ^ $y);
result = result * PRIME + java.lang.Float.floatToIntBits(this.f);
final long $d = java.lang.Double.doubleToLongBits(this.d);
- result = result * PRIME + (int)($d >>> 32 ^ $d);
+ result = result * PRIME + (int) ($d >>> 32 ^ $d);
result = result * PRIME + (this.b ? 79 : 97);
return result;
}
@@ -87,8 +87,8 @@ final class EqualsAndHashCode3 extends EqualsAndHashCode {
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCode3)) return false;
- final EqualsAndHashCode3 other = (EqualsAndHashCode3)o;
- if (!other.canEqual((java.lang.Object)this)) return false;
+ final EqualsAndHashCode3 other = (EqualsAndHashCode3) o;
+ if (!other.canEqual((java.lang.Object) this)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@@ -111,8 +111,8 @@ class EqualsAndHashCode4 extends EqualsAndHashCode {
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCode4)) return false;
- final EqualsAndHashCode4 other = (EqualsAndHashCode4)o;
- if (!other.canEqual((java.lang.Object)this)) return false;
+ final EqualsAndHashCode4 other = (EqualsAndHashCode4) o;
+ if (!other.canEqual((java.lang.Object) this)) return false;
if (!super.equals(o)) return false;
return true;
}