diff options
author | Roel Spilker <r.spilker@gmail.com> | 2017-03-23 00:16:47 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2017-03-23 00:16:47 +0100 |
commit | 969ed9125e239380ce70b1c0abc78abc614eebaa (patch) | |
tree | cee9c47a2cf7d07f6edaa4d62aa000860f971aa2 /test/transform/resource/after-delombok/DataConfiguration.java | |
parent | 3b1792c39701fad8a8abc8d0d508b90ab2832e05 (diff) | |
download | lombok-969ed9125e239380ce70b1c0abc78abc614eebaa.tar.gz lombok-969ed9125e239380ce70b1c0abc78abc614eebaa.tar.bz2 lombok-969ed9125e239380ce70b1c0abc78abc614eebaa.zip |
[i1329] respect configuration for field access when generating equals, hashCode and toString from Data and Value
Diffstat (limited to 'test/transform/resource/after-delombok/DataConfiguration.java')
-rw-r--r-- | test/transform/resource/after-delombok/DataConfiguration.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/after-delombok/DataConfiguration.java b/test/transform/resource/after-delombok/DataConfiguration.java index aadb35b6..5057e9ed 100644 --- a/test/transform/resource/after-delombok/DataConfiguration.java +++ b/test/transform/resource/after-delombok/DataConfiguration.java @@ -18,7 +18,7 @@ class DataConfiguration { if (!(o instanceof DataConfiguration)) return false; final DataConfiguration other = (DataConfiguration) o; if (!other.canEqual((java.lang.Object) this)) return false; - if (this.getX() != other.getX()) return false; + if (this.x != other.x) return false; return true; } @java.lang.SuppressWarnings("all") @@ -32,13 +32,13 @@ class DataConfiguration { public int hashCode() { final int PRIME = 59; int result = 1; - result = result * PRIME + this.getX(); + result = result * PRIME + this.x; return result; } @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public java.lang.String toString() { - return "DataConfiguration(x=" + this.getX() + ")"; + return "DataConfiguration(x=" + this.x + ")"; } } |