diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2022-03-29 23:14:56 +0200 |
---|---|---|
committer | Rawi01 <Rawi01@users.noreply.github.com> | 2022-03-29 23:17:03 +0200 |
commit | d4975cf6dd959120fe91614907800de058993d50 (patch) | |
tree | 73c946ddc5535a93da73514dd6baf4856b91567b /test/transform/resource/before | |
parent | 70bda546114ceccc7714bd6060d96edbcd25e3a0 (diff) | |
download | lombok-d4975cf6dd959120fe91614907800de058993d50.tar.gz lombok-d4975cf6dd959120fe91614907800de058993d50.tar.bz2 lombok-d4975cf6dd959120fe91614907800de058993d50.zip |
[fixes #3153] Improve the handling of ExtensionMethod arguments
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/ExtensionMethodFunctional.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/before/ExtensionMethodFunctional.java b/test/transform/resource/before/ExtensionMethodFunctional.java index 8586dd7a..20fe2a36 100644 --- a/test/transform/resource/before/ExtensionMethodFunctional.java +++ b/test/transform/resource/before/ExtensionMethodFunctional.java @@ -16,6 +16,8 @@ class ExtensionMethodFunctional { test.consume(s -> System.out.println("1: " + s), s -> System.out.println("2: " + s)); test.consume(System.out::println, System.out::println); + test.consume(test.length() > 0 ? System.out::println : null); + Stream.of("a", "b", "c").map(String::toUpperCase).toList1(); List<Integer> i2 = Stream.of("a", "b", "c").map(String::toUpperCase).toList2(); } |