Browse Source

Improve Task Javadoc about Runnable wrapping

Closes gh-35394
pull/35587/head
Brian Clozel 3 months ago
parent
commit
d85a020e4e
  1. 4
      spring-context/src/main/java/org/springframework/scheduling/config/Task.java

4
spring-context/src/main/java/org/springframework/scheduling/config/Task.java

@ -50,7 +50,9 @@ public class Task { @@ -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…
Cancel
Save