mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 22:17:41 +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.getY() != other.getY()))
|
||||
return false;
|
||||
if (((this.getZ() == null) ? (other.getZ() != null) : (! this.getZ().equals((java.lang.Object) other.getZ()))))
|
||||
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;
|
||||
}
|
||||
@@ -36,7 +38,8 @@
|
||||
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;
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
|
||||
Reference in new issue
Block a user