From 923036bcbdc16e3c38f8e882face9e3b88317012 Mon Sep 17 00:00:00 2001 From: Kumar Ashish Date: Wed, 28 Feb 2024 15:40:53 +0530 Subject: [PATCH] modified documentation to not use DataConverter incorrectly --- src/main/java/com/uber/cadence/worker/Worker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/uber/cadence/worker/Worker.java b/src/main/java/com/uber/cadence/worker/Worker.java index 7c0b714ea..c26edfd86 100644 --- a/src/main/java/com/uber/cadence/worker/Worker.java +++ b/src/main/java/com/uber/cadence/worker/Worker.java @@ -23,7 +23,7 @@ import com.uber.cadence.client.WorkflowClient; import com.uber.cadence.common.WorkflowExecutionHistory; import com.uber.cadence.context.ContextPropagator; -import com.uber.cadence.converter.DataConverter; +import com.uber.cadence.internal.worker.PollerOptions; import com.uber.cadence.internal.common.InternalUtils; import com.uber.cadence.internal.metrics.MetricsTag; import com.uber.cadence.internal.replay.DeciderCache; @@ -61,7 +61,7 @@ public final class Worker implements Suspendable { * @param client client to the Cadence Service endpoint. * @param taskList task list name worker uses to poll. It uses this name for both decision and * activity task list polls. - * @param options Options (like {@link DataConverter} override) for configuring worker. + * @param options Options (like {@link PollerOptions} override) for configuring worker. */ Worker( WorkflowClient client,