Skip to content

Commit 409b3d2

Browse files
authored
Updated DataConverter package (temporalio#4)
1 parent 5b11d52 commit 409b3d2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main/java/io/temporal/samples/hello/HelloActivity.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ public static void main(String[] args) {
9393
// Start a workflow execution. Usually this is done from another program.
9494
// Uses task list from the GreetingWorkflow @WorkflowMethod annotation.
9595
GreetingWorkflow workflow = client.newWorkflowStub(GreetingWorkflow.class);
96-
// Execute a workflow waiting for it to complete.
96+
// Execute a workflow waiting for it to complete. See {@link
97+
// io.temporal.samples.hello.HelloSignal}
98+
// for an example of starting workflow without waiting synchronously for its result.
9799
String greeting = workflow.getGreeting("World");
98100
System.out.println(greeting);
99101
System.exit(0);

src/main/java/io/temporal/samples/hello/HelloSearchAttributes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import io.temporal.activity.ActivityMethod;
2424
import io.temporal.client.WorkflowClient;
2525
import io.temporal.client.WorkflowOptions;
26-
import io.temporal.converter.DataConverter;
27-
import io.temporal.converter.JsonDataConverter;
26+
import io.temporal.common.converter.DataConverter;
27+
import io.temporal.common.converter.JsonDataConverter;
2828
import io.temporal.proto.common.SearchAttributes;
2929
import io.temporal.proto.common.WorkflowExecution;
3030
import io.temporal.proto.workflowservice.DescribeWorkflowExecutionRequest;

0 commit comments

Comments
 (0)