Skip to content

Commit e742687

Browse files
committed
docs: add snipsync lines to envconfig samples
1 parent d3b90e6 commit e742687

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/src/main/java/io/temporal/samples/envconfig/LoadFromFile.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package io.temporal.samples.envconfig;
2-
2+
/** @@@SNIPSTART java-env-config-profile */
33
import io.temporal.client.WorkflowClient;
44
import io.temporal.client.WorkflowClientOptions;
55
import io.temporal.envconfig.ClientConfigProfile;
@@ -77,3 +77,4 @@ public static void main(String[] args) {
7777
}
7878
}
7979
}
80+
/** @@@SNIPEND */

core/src/main/java/io/temporal/samples/envconfig/LoadProfile.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package io.temporal.samples.envconfig;
2-
2+
/** @@@SNIPSTART java-env-config-profile-with-overrides */
33
import io.temporal.client.WorkflowClient;
44
import io.temporal.client.WorkflowClientOptions;
55
import io.temporal.envconfig.ClientConfigProfile;
@@ -85,3 +85,4 @@ public static void main(String[] args) {
8585
}
8686
}
8787
}
88+
/** @@@SNIPEND */

0 commit comments

Comments
 (0)