Skip to content

Commit dafc9af

Browse files
committed
Format
1 parent ce00177 commit dafc9af

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

scijava-ops-tutorial/src/main/java/org/scijava/ops/tutorial/ReportingProgress.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
* <p>
5858
* Ops tell the {@link Progress} a few things:
5959
* <ol>
60-
* <li>The number of "elements" in a computation, as well as "subtasks", i.e. dependent Ops</li>
60+
* <li>The number of "elements" in a computation, as well as "subtasks", i.e.
61+
* dependent Ops</li>
6162
* <li>When each "element" has been completed</li>
6263
* </ol>
6364
* <p>

scijava-progress/src/main/java/org/scijava/progress/Progress.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ private Progress() {}
7373
private static final ThreadLocal<ArrayDeque<Task>> progressibleStack =
7474
new InheritableThreadLocal<>()
7575
{
76-
private final Collection<Task> initialContents = Collections.singleton(IGNORED);
76+
77+
private final Collection<Task> initialContents = Collections.singleton(
78+
IGNORED);
7779

7880
@Override
7981
protected ArrayDeque<Task> childValue(ArrayDeque<Task> parentValue) {

scijava-progress/src/main/java/org/scijava/progress/Task.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public class Task {
5050
/** Parent of this task */
5151
private final Task parent;
5252

53-
// NB this is a concurrent map being used as a concurrent set
5453
/** Subtasks created by this task */
5554
private final List<Task> subTasks = new CopyOnWriteArrayList<>();
5655

0 commit comments

Comments
 (0)