Skip to content

Commit 1ff24a3

Browse files
Add more snip sync
1 parent fdd6745 commit 1ff24a3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/src/main/java/io/temporal/samples/nexus/caller/EchoCallerWorkflowImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* express or implied. See the License for the specific language governing
1717
* permissions and limitations under the License.
1818
*/
19-
19+
// @@@SNIPSTART samples-java-nexus-caller-echo-workflow
2020
package io.temporal.samples.nexus.caller;
2121

2222
import io.temporal.samples.nexus.service.NexusService;
@@ -41,3 +41,4 @@ public String echo(String message) {
4141
return nexusService.echo(new NexusService.EchoInput(message)).getMessage();
4242
}
4343
}
44+
// @@@SNIPEND

core/src/main/java/io/temporal/samples/nexus/caller/HelloCallerWorkflowImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* express or implied. See the License for the specific language governing
1717
* permissions and limitations under the License.
1818
*/
19-
19+
// @@@SNIPSTART samples-java-nexus-caller-hello-workflow
2020
package io.temporal.samples.nexus.caller;
2121

2222
import io.temporal.samples.nexus.service.NexusService;
@@ -48,3 +48,4 @@ public String hello(String message, NexusService.Language language) {
4848
return handle.getResult().get().getMessage();
4949
}
5050
}
51+
// @@@SNIPEND

0 commit comments

Comments
 (0)