We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a68bbd0 commit fb1b02eCopy full SHA for fb1b02e
2 files changed
modules/devguide/examples/java/StartUsing.java
@@ -19,6 +19,7 @@ public class StartUsing {
19
20
public static void main(String... args) {
21
// tag::connect-env[]
22
+ // Use the following code to connect to your cluster.
23
Cluster cluster = Cluster.connect(
24
connectionString,
25
ClusterOptions.clusterOptions(username, password).environment(env -> {
modules/hello-world/pages/start-using-sdk.adoc
@@ -219,7 +219,11 @@ Self-Managed Couchbase Server::
219
220
[source,java]
221
----
222
-include::devguide:example$java/StartUsing.java[tags=connect-info,indent=0]
+include::devguide:example$java/StartUsing.java[tags="connect-info",indent=0]
223
+----
224
+[source,java]
225
226
+include::devguide:example$java/StartUsing.java[tags="connect-env",indent=0]
227
228
--
229
0 commit comments