Wrap ternary operator within parentheses as outlined in Code Style
Closes gh-30358
This commit is contained in:
parent
30d6ec3398
commit
c21a8aa8b0
|
@ -45,7 +45,7 @@ public interface Trigger {
|
||||||
@Nullable
|
@Nullable
|
||||||
default Date nextExecutionTime(TriggerContext triggerContext) {
|
default Date nextExecutionTime(TriggerContext triggerContext) {
|
||||||
Instant instant = nextExecution(triggerContext);
|
Instant instant = nextExecution(triggerContext);
|
||||||
return instant != null ? Date.from(instant) : null;
|
return (instant != null ? Date.from(instant) : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue