Improve Task Javadoc about Runnable wrapping

Closes gh-35394
This commit is contained in:
Brian Clozel 2025-09-19 18:05:02 +02:00
parent 0cc79ba366
commit d85a020e4e
1 changed files with 3 additions and 1 deletions

View File

@ -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;