Skip to content

Commit d4ab47a

Browse files
committed
DefaultTask: fix up class javadoc
1 parent e9552bc commit d4ab47a

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/main/java/org/scijava/task/DefaultTask.java

+8-5
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
* Default implementation of {@link Task}. Throughout the task (or job),
4040
* {@link Task#setProgressValue(long)} can be called to inform
4141
* how the job is progressing.
42-
*
42+
* <p>
4343
* Asynchronous case:
44-
* - A job (runnable) is sent for execution to the linked {@link ThreadService}.
44+
* A job (runnable) is sent for execution to the linked {@link ThreadService}.
4545
* It reports status updates via the linked {@link EventService}.
4646
* A {@link org.scijava.task.event.TaskEvent} is sent before the job
4747
* is started and when finished.
@@ -50,18 +50,21 @@
5050
* by calling {@link Future#cancel(boolean)}.
5151
* This default behaviour can be supplemented by an additional
5252
* custom callback which can be set in {@link Task#setCancelCallBack(Runnable)}.
53-
*
53+
* </p>
54+
* <p>
5455
* Synchronous case:
55-
* - A job that reports its status in between calls of {@link Task#start()},
56+
* A job that reports its status in between calls of {@link Task#start()},
5657
* and {@link Task#finish()}. It also reports its status via
5758
* the linked {@link EventService}.
5859
* Start and finish calls allow publishing proper {@link org.scijava.task.event.TaskEvent}
5960
* to subscribers (with the EventService).
6061
* Upon cancellation of a synchronous task, it is the responsibility
6162
* of the synchronous task to handle its own cancellation through
6263
* a custom callback which can be set via {@link Task#setCancelCallBack(Runnable)}.
64+
* </p>
6365
*
64-
* @author Curtis Rueden, Nicolas Chiaruttini
66+
* @author Curtis Rueden
67+
* @author Nicolas Chiaruttini
6568
*/
6669
public class DefaultTask implements Task {
6770

0 commit comments

Comments
 (0)