diff options
Diffstat (limited to 'test/transform/resource/after-delombok/DataWithGetter.java')
-rw-r--r-- | test/transform/resource/after-delombok/DataWithGetter.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/DataWithGetter.java b/test/transform/resource/after-delombok/DataWithGetter.java index 79df7aa1..95a4bcbc 100644 --- a/test/transform/resource/after-delombok/DataWithGetter.java +++ b/test/transform/resource/after-delombok/DataWithGetter.java @@ -24,7 +24,9 @@ class DataWithGetter { if (!other.canEqual((java.lang.Object)this)) return false; if (this.getX() != other.getX()) return false; if (this.getY() != other.getY()) return false; - if (this.getZ() == null ? other.getZ() != null : !this.getZ().equals((java.lang.Object)other.getZ())) return false; + final java.lang.Object this$z = this.getZ(); + final java.lang.Object other$z = other.getZ(); + if (this$z == null ? other$z != null : !this$z.equals(other$z)) return false; return true; } @java.lang.SuppressWarnings("all") @@ -38,7 +40,8 @@ class DataWithGetter { int result = 1; result = result * PRIME + this.getX(); result = result * PRIME + this.getY(); - result = result * PRIME + (this.getZ() == null ? 0 : this.getZ().hashCode()); + final java.lang.Object $z = this.getZ(); + result = result * PRIME + ($z == null ? 0 : $z.hashCode()); return result; } @java.lang.Override |