aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ExtensionMethodFunctional.java
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2022-03-29 23:14:56 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2022-03-29 23:17:03 +0200
commitd4975cf6dd959120fe91614907800de058993d50 (patch)
tree73c946ddc5535a93da73514dd6baf4856b91567b /test/transform/resource/after-ecj/ExtensionMethodFunctional.java
parent70bda546114ceccc7714bd6060d96edbcd25e3a0 (diff)
downloadlombok-d4975cf6dd959120fe91614907800de058993d50.tar.gz
lombok-d4975cf6dd959120fe91614907800de058993d50.tar.bz2
lombok-d4975cf6dd959120fe91614907800de058993d50.zip
[fixes #3153] Improve the handling of ExtensionMethod arguments
Diffstat (limited to 'test/transform/resource/after-ecj/ExtensionMethodFunctional.java')
-rw-r--r--test/transform/resource/after-ecj/ExtensionMethodFunctional.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ExtensionMethodFunctional.java b/test/transform/resource/after-ecj/ExtensionMethodFunctional.java
index 0971a9be..3cd29e44 100644
--- a/test/transform/resource/after-ecj/ExtensionMethodFunctional.java
+++ b/test/transform/resource/after-ecj/ExtensionMethodFunctional.java
@@ -36,6 +36,7 @@ import lombok.experimental.ExtensionMethod;
test = ExtensionMethodFunctional.Extensions.map(test, (<no type> s) -> ExtensionMethodFunctional.Extensions.reverse(s));
ExtensionMethodFunctional.Extensions.consume(test, (<no type> s) -> System.out.println(("1: " + s)), (<no type> s) -> System.out.println(("2: " + s)));
ExtensionMethodFunctional.Extensions.consume(test, System.out::println, System.out::println);
+ ExtensionMethodFunctional.Extensions.consume(test, ((test.length() > 0) ? System.out::println : null));
ExtensionMethodFunctional.Extensions.toList1(Stream.of("a", "b", "c").map(String::toUpperCase));
List<Integer> i2 = ExtensionMethodFunctional.Extensions.toList2(Stream.of("a", "b", "c").map(String::toUpperCase));
}