mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
Issue 366: don't call the getter twice, fixed for javac.
This commit is contained in:
1 parent
d8e933223f
commit
5a13db5dc9
10 files changed
+170
-93
No files matched your search
@@ -24,7 +24,9 @@ class DataWithGetterNone {
|
||||
if (!other.canEqual((java.lang.Object)this)) return false;
|
||||
if (this.x != other.x) return false;
|
||||
if (this.y != other.y) return false;
|
||||
if (this.z == null ? other.z != null : !this.z.equals((java.lang.Object)other.z)) return false;
|
||||
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;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@@ -38,7 +40,8 @@ class DataWithGetterNone {
|
||||
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;
|
||||
}
|
||||
@java.lang.Override
|
||||
|
||||
Reference in new issue
Block a user