Commit fa44b11
committed
Make Task.parent() protected
We want to propagate progress updates up the chain of subtasks, so tasks
must know their parent, at least within the scijava-progress module. To
avoid publicly exposing this functionality, though, we make a new method
isSubTask which allows us to optionally disregard all subtasks.1 parent e488315 commit fa44b11
File tree
2 files changed
+6
-2
lines changed- scijava-ops-legacy/src/main/java/org/scijava/legacy/service
- scijava-progress/src/main/java/org/scijava/progress
2 files changed
+6
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
256 | 260 | | |
0 commit comments