mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 00:17:45 +00:00
Issue 366: don't call the getter twice, fixed for Eclipse.
This commit is contained in:
1 parent
5a13db5dc9
commit
25def866b5
9 files changed
+160
-94
No files matched your search
@@ -24,7 +24,9 @@
|
||||
return false;
|
||||
if ((this.y != other.y))
|
||||
return false;
|
||||
if (((this.z == null) ? (other.z != null) : (! this.z.equals((java.lang.Object) other.z))))
|
||||
final java.lang.Object this$z = this.z;
|
||||
final java.lang.Object other$z = other.z;
|
||||
if (((this$z == null) ? (other$z != null) : (! this$z.equals(other$z))))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
@@ -36,7 +38,8 @@
|
||||
int result = 1;
|
||||
result = ((result * PRIME) + this.x);
|
||||
result = ((result * PRIME) + this.y);
|
||||
result = ((result * PRIME) + ((this.z == null) ? 0 : this.z.hashCode()));
|
||||
final java.lang.Object $z = this.z;
|
||||
result = ((result * PRIME) + (($z == null) ? 0 : $z.hashCode()));
|
||||
return result;
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
|
||||
Reference in new issue
Block a user