Skip to content

Commit 35ee2f4

Browse files
committed
ThreadService: clarify javadoc
1 parent 418de99 commit 35ee2f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/org/scijava/thread/ThreadService.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public enum ThreadContext {
112112

113113
/**
114114
* Gets whether the current thread is a dispatch thread for use with
115-
* {@link #invoke} and {@link #queue}.
115+
* {@link #invoke(Runnable)} and {@link #queue(Runnable)}.
116116
* <p>
117117
* In the case of AWT-based applications (e.g., Java on the desktop), this is
118118
* typically the AWT Event Dispatch Thread (EDT). However, ultimately the
@@ -141,7 +141,8 @@ void invoke(Runnable code) throws InterruptedException,
141141
InvocationTargetException;
142142

143143
/**
144-
* Queues the given code for later execution in a special dispatch thread.
144+
* Queues the given code for later execution in a special dispatch thread,
145+
* returning immediately.
145146
* <p>
146147
* In the case of AWT-based applications (e.g., Java on the desktop), this is
147148
* typically the AWT Event Dispatch Thread (EDT). However, ultimately the

0 commit comments

Comments
 (0)