Skip to content

Commit bbf087e

Browse files
committed
separate workflow impl from interface
1 parent da8437e commit bbf087e

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

workers/java/harness/src/test/java/io/temporal/omes/harness/ProjectHarnessEchoWorkflow.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,3 @@ public interface ProjectHarnessEchoWorkflow {
88
@WorkflowMethod
99
String run(String payload);
1010
}
11-
12-
class ProjectHarnessEchoWorkflowImpl implements ProjectHarnessEchoWorkflow {
13-
public ProjectHarnessEchoWorkflowImpl() {}
14-
15-
@Override
16-
public String run(String payload) {
17-
return payload;
18-
}
19-
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package io.temporal.omes.harness;
2+
3+
public final class ProjectHarnessEchoWorkflowImpl implements ProjectHarnessEchoWorkflow {
4+
public ProjectHarnessEchoWorkflowImpl() {}
5+
6+
@Override
7+
public String run(String payload) {
8+
return payload;
9+
}
10+
}

0 commit comments

Comments
 (0)