Skip to content

Commit 33897bb

Browse files
committed
Merge branch '6.2.x'
2 parents c129e8a + d85a020 commit 33897bb

File tree

1 file changed

+3
-1
lines changed
  • spring-context/src/main/java/org/springframework/scheduling/config

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public Task(Runnable runnable) {
5151

5252

5353
/**
54-
* Return the underlying task.
54+
* Return a {@link Runnable} that executes the underlying task.
55+
* <p>Note, this does not necessarily return the {@link Task#Task(Runnable) original runnable}
56+
* as it can be wrapped by the Framework for additional support.
5557
*/
5658
public Runnable getRunnable() {
5759
return this.runnable;

0 commit comments

Comments
 (0)