Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 179c8e3

Browse files
[improve] Re-added the public modifier
1 parent 166c708 commit 179c8e3

File tree

1 file changed

+1
-1
lines changed
  • d04/d04s01-async-processing/d04s01e02-async-service-layer/src/main/java/net/safedata/spring/training/d04/s01/service

1 file changed

+1
-1
lines changed

‎d04/d04s01-async-processing/d04s01e02-async-service-layer/src/main/java/net/safedata/spring/training/d04/s01/service/AsyncComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public ListenableFuture<String> asyncMethodReturningAListenableFuture() {
3939
}
4040

4141
@Async
42-
CompletableFuture<String> asyncMethodReturningACompletableFuture() {
42+
publicCompletableFuture<String> asyncMethodReturningACompletableFuture() {
4343
displayCurrentThreadName("asyncMethodReturningACompletableFuture");
4444
return CompletableFuture.supplyAsync(() -> "Returned by the CompletableFuture");
4545
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /