mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
testdata to expression lambda
This commit is contained in:
+1
@@ -24,6 +24,7 @@ class Test1 {
|
||||
|
||||
|
||||
public static void main(String[] args) {
|
||||
Extractor<String, Integer> e0 = s -> s.equals("1") ? Option.option(1) : Option.none();
|
||||
Extractor<String, Integer> e = s -> {
|
||||
if (s.equals("1")) {
|
||||
return Option.option(1);
|
||||
|
||||
Reference in New Issue
Block a user