We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d6ec3 commit c21a8aaCopy full SHA for c21a8aa
spring-context/src/main/java/org/springframework/scheduling/Trigger.java
@@ -45,7 +45,7 @@ public interface Trigger {
45
@Nullable
46
default Date nextExecutionTime(TriggerContext triggerContext) {
47
Instant instant = nextExecution(triggerContext);
48
- return instant != null ? Date.from(instant) : null;
+ return (instant != null ? Date.from(instant) : null);
49
}
50
51
/**
0 commit comments