Improve Task Javadoc about Runnable wrapping
Closes gh-35394
This commit is contained in:
parent
0cc79ba366
commit
d85a020e4e
|
@ -50,7 +50,9 @@ public class Task {
|
|||
|
||||
|
||||
/**
|
||||
* Return the underlying task.
|
||||
* Return a {@link Runnable} that executes the underlying task.
|
||||
* <p>Note, this does not necessarily return the {@link Task#Task(Runnable) original runnable}
|
||||
* as it can be wrapped by the Framework for additional support.
|
||||
*/
|
||||
public Runnable getRunnable() {
|
||||
return this.runnable;
|
||||
|
|
Loading…
Reference in New Issue