aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValLambda.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-05-21 23:20:00 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-05-21 23:20:00 +0200
commit2704f073aad6deb362707e0311b6275cde7c5e1a (patch)
tree2ec6d478599b88e3e10865aba424fb3777f25945 /test/transform/resource/before/ValLambda.java
parentcd49188aff9ffece51ce8831c961e0faab33fbc8 (diff)
downloadlombok-2704f073aad6deb362707e0311b6275cde7c5e1a.tar.gz
lombok-2704f073aad6deb362707e0311b6275cde7c5e1a.tar.bz2
lombok-2704f073aad6deb362707e0311b6275cde7c5e1a.zip
Code review + mention in changelog for the improvement to val handling vs. lambdas and conditional (ternary) expressions.
Diffstat (limited to 'test/transform/resource/before/ValLambda.java')
-rw-r--r--test/transform/resource/before/ValLambda.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/transform/resource/before/ValLambda.java b/test/transform/resource/before/ValLambda.java
index 5d40f220..35f83c3c 100644
--- a/test/transform/resource/before/ValLambda.java
+++ b/test/transform/resource/before/ValLambda.java
@@ -16,9 +16,4 @@ class ValLambda {
java.util.function.Function foo3 = (System.currentTimeMillis() < 0) ? (java.util.function.Function) r -> "" : r -> System.currentTimeMillis();
lombok.val foo4 = (System.currentTimeMillis() < 0) ? (java.util.function.Function<String, String>) r -> "" : r -> String.valueOf(System.currentTimeMillis());
}
-
-// public void castLubLambda() {
-// Runnable foo = (Runnable) ((System.currentTimeMillis() > 0) ? () -> {} : System.out::println);
-// lombok.val foo = (Runnable) ((System.currentTimeMillis() > 0) ? () -> {} : System.out::println);
-// }
}