Skip to content

Commit 06289b0

Browse files
committed
lecture
1 parent 0b7c219 commit 06289b0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/io/concurrency/chapter11/exam03/CompletableFutureExample.java renamed to src/main/java/io/concurrency/chapter11/exam03/CompletableFutureExceptionExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.concurrent.CompletableFuture;
44
import java.util.concurrent.ExecutionException;
55

6-
public class CompletableFutureExample {
6+
public class CompletableFutureExceptionExample {
77

88
public static void main(String[] args) throws ExecutionException, InterruptedException {
99

src/main/java/io/concurrency/chapter11/exam03/ExecutorServiceExample.java renamed to src/main/java/io/concurrency/chapter11/exam03/ExecutorServiceExceptionExample.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.concurrent.Executors;
66
import java.util.concurrent.Future;
77

8-
public class ExecutorServiceExample {
8+
public class ExecutorServiceExceptionExample {
99

1010
public static void main(String[] args) throws InterruptedException, ExecutionException {
1111

@@ -18,7 +18,6 @@ public static void main(String[] args) throws InterruptedException, ExecutionExc
1818
});
1919

2020
int result;
21-
2221
try {
2322
result = future2.get();
2423

0 commit comments

Comments
 (0)