File tree Expand file tree Collapse file tree
src/main/java/com/uber/cadence/samples/query Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,9 +85,7 @@ public static final class WorkflowImpl implements WorkflowIface {
8585
8686 private final List <LunchOrder > votes = new ArrayList <>();
8787
88- /** Cached on the workflow thread; queries must not call {@link Workflow#getWorkflowInfo()}. */
8988 private String cachedWorkflowId = "" ;
90-
9189 private String cachedRunId = "" ;
9290
9391 @ Override
Original file line number Diff line number Diff line change @@ -107,10 +107,8 @@ public static final class WorkflowImpl implements WorkflowIface {
107107 */
108108 private final ArrayDeque <Object > inbox = new ArrayDeque <>();
109109
110- /** Cached in constructor (workflow thread); queries must not call {@link Workflow#getWorkflowInfo()}. */
111- private final String cachedWorkflowId ;
112-
113- private final String cachedRunId ;
110+ private final String cachedWorkflowId = "" ;
111+ private final String cachedRunId = "" ;
114112
115113 /** Inbox wrapper so {@code mark_ready_to_ship} vs {@code mark_delivered} are not ambiguous. */
116114 private static final class ReadyToShipMessage {
You can’t perform that action at this time.
0 commit comments