aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ValErrors.java
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-10-21 10:38:37 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2021-10-22 09:24:17 +0200
commit553b25addde4fab136258f7718e274a98bfbe34a (patch)
treef65f76f8c838a73f5f91f8efe0811c6b019857bb /test/transform/resource/after-ecj/ValErrors.java
parent13d84b129e562fdc71b049778c3b3bd2376e29a4 (diff)
downloadlombok-553b25addde4fab136258f7718e274a98bfbe34a.tar.gz
lombok-553b25addde4fab136258f7718e274a98bfbe34a.tar.bz2
lombok-553b25addde4fab136258f7718e274a98bfbe34a.zip
[fixes #2985] Resolve var/val only once in eclipse
Diffstat (limited to 'test/transform/resource/after-ecj/ValErrors.java')
-rw-r--r--test/transform/resource/after-ecj/ValErrors.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-ecj/ValErrors.java b/test/transform/resource/after-ecj/ValErrors.java
index 1bd61f87..19c2facd 100644
--- a/test/transform/resource/after-ecj/ValErrors.java
+++ b/test/transform/resource/after-ecj/ValErrors.java
@@ -4,9 +4,9 @@ public class ValErrors {
super();
}
public void unresolvableExpression() {
- val c = d;
+ final @val java.lang.Object c = d;
}
public void arrayInitializer() {
- val e = {"foo", "bar"};
+ final @val java.lang.Object e = {"foo", "bar"};
}
} \ No newline at end of file