Wrap ternary operator within parentheses as outlined in Code Style

Closes gh-30358
This commit is contained in:
jongwooo
2023-04-20 02:28:50 +09:00
committed by Sam Brannen
parent 30d6ec3398
commit c21a8aa8b0

View File

@@ -45,7 +45,7 @@ public interface Trigger {
@Nullable
default Date nextExecutionTime(TriggerContext triggerContext) {
Instant instant = nextExecution(triggerContext);
return instant != null ? Date.from(instant) : null;
return (instant != null ? Date.from(instant) : null);
}
/**