aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/EqualsAndHashCode.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-04-29 22:24:59 +0200
committerRoel Spilker <r.spilker@gmail.com>2012-04-29 23:57:47 +0200
commit5a13db5dc967367b9e3ec85bb5f07e65a1df09b7 (patch)
tree3efc9cd7bd106745d158054b103d20d6478114ab /test/transform/resource/before/EqualsAndHashCode.java
parentd8e933223fb162175f550bee69b5a0153e11ff66 (diff)
downloadlombok-5a13db5dc967367b9e3ec85bb5f07e65a1df09b7.tar.gz
lombok-5a13db5dc967367b9e3ec85bb5f07e65a1df09b7.tar.bz2
lombok-5a13db5dc967367b9e3ec85bb5f07e65a1df09b7.zip
Issue 366: don't call the getter twice, fixed for javac.
Diffstat (limited to 'test/transform/resource/before/EqualsAndHashCode.java')
-rw-r--r--test/transform/resource/before/EqualsAndHashCode.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCode.java b/test/transform/resource/before/EqualsAndHashCode.java
index 1688c1fc..0a1e3290 100644
--- a/test/transform/resource/before/EqualsAndHashCode.java
+++ b/test/transform/resource/before/EqualsAndHashCode.java
@@ -4,11 +4,15 @@ class EqualsAndHashCode {
boolean[] y;
Object[] z;
String a;
+ String b;
}
@lombok.EqualsAndHashCode
final class EqualsAndHashCode2 {
int x;
+ long y;
+ float f;
+ double d;
}
@lombok.EqualsAndHashCode(callSuper=false)