diff --git a/src/main/java/com/uber/cadence/activity/ActivityOptions.java b/src/main/java/com/uber/cadence/activity/ActivityOptions.java index 6a918c590..2c3e73617 100644 --- a/src/main/java/com/uber/cadence/activity/ActivityOptions.java +++ b/src/main/java/com/uber/cadence/activity/ActivityOptions.java @@ -155,7 +155,7 @@ public ActivityOptions validateAndBuildWithDefaults() { if (scheduleToCloseTimeout == null && (scheduleToStartTimeout == null || startToCloseTimeout == null)) { throw new IllegalStateException( - "Either ScheduleToClose or both ScheduleToStart and StarToClose " + "Either ScheduleToClose or both ScheduleToStart and StartToClose " + "timeouts are required: "); } Duration scheduleToClose = scheduleToCloseTimeout;