Skip to content

Commit 67e32b7

Browse files
Nikita KatkovNikita Katkov
authored andcommitted
Updated [Non]BlockingExecutor kotlin examples: annotate type usage
1 parent 7758341 commit 67e32b7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

java8/src/main/java/org/jetbrains/annotations/BlockingExecutor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
* <pre>
3030
* {@code
3131
* class BlockingExampleService {
32-
* @BlockingExecutor
33-
* val dispatcher: CoroutineContext
32+
* val dispatcher: @BlockingExecutor CoroutineContext
3433
* get() { ... }
3534
*
3635
* suspend fun foo() {

java8/src/main/java/org/jetbrains/annotations/NonBlockingExecutor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
* <pre>
3131
* {@code
3232
* class NonBlockingExampleService {
33-
* @NonBlockingExecutor
34-
* val dispatcher: CoroutineContext
33+
* val dispatcher: @NonBlockingExecutor CoroutineContext
3534
* get() { ... }
3635
*
3736
* suspend fun foo() {

0 commit comments

Comments
 (0)