Skip to content

Commit d27bbfc

Browse files
committed
Dodat metod 'public String process()'
1 parent bb3e739 commit d27bbfc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/com/winterbe/java8/samples/concurrent/CompletableFuture1.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ public static void main(String[] args) throws ExecutionException, InterruptedExc
1919
.thenAccept(v -> System.out.println("done"));
2020

2121
}
22+
23+
public String process() {
24+
return "Marko";
25+
}
2226

2327
}

0 commit comments

Comments
 (0)