diff options
author | Bulgakov Alexander <buls@yandex.ru> | 2019-05-07 10:49:25 +0300 |
---|---|---|
committer | Bulgakov Alexander <buls@yandex.ru> | 2019-05-07 10:49:25 +0300 |
commit | 06fb1034eac690f5775e104c4bc82df3ad929cc9 (patch) | |
tree | 3c70f1b28bc3af8e06ee555f89778d794f28df54 /test/transform/resource/before | |
parent | 8276dee2551d3f8d29f414a0a762565eec381258 (diff) | |
download | lombok-06fb1034eac690f5775e104c4bc82df3ad929cc9.tar.gz lombok-06fb1034eac690f5775e104c4bc82df3ad929cc9.tar.bz2 lombok-06fb1034eac690f5775e104c4bc82df3ad929cc9.zip |
#1976. naive fix of the eclipse compiler's error 'The target type of this expression must be a functional interface' in code like 'lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println;'
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/ValLambda.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/before/ValLambda.java b/test/transform/resource/before/ValLambda.java index 51c4fba1..4ec73b82 100644 --- a/test/transform/resource/before/ValLambda.java +++ b/test/transform/resource/before/ValLambda.java @@ -10,7 +10,7 @@ class ValLambda { } public void easyLubLambda() { - lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : (Runnable)System.out::println; + lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println; } // public void castLubLambda() { |