Skip to content

Commit 8fc1d37

Browse files
authored
Merge pull request #93 from djsauble/patch-6
Tidy the comments in ConnectingAdmin.java
2 parents 8a6bcab + 2504dea commit 8fc1d37

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

astra-db-client/src/test/java/com/dtsx/astra/sdk/documentation/ConnectingAdmin.java

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@
22

33
import com.dtsx.astra.sdk.AstraDB;
44
import com.dtsx.astra.sdk.AstraDBAdmin;
5-
65
import java.util.UUID;
76

87
public class ConnectingAdmin {
9-
public static void main(String[] args) {
10-
// Default Initialization
11-
AstraDBAdmin client = new AstraDBAdmin("<token>");
8+
public static void main(String[] args) {
9+
// Default Initialization
10+
AstraDBAdmin client = new AstraDBAdmin("<token>");
1211

13-
/*
14-
* You can omit the token if you defined the environment variable
15-
* `ASTRA_DB_APPLICATION_TOKEN` or you if are using the Astra CLI.
16-
*/
17-
AstraDBAdmin defaultClient=new AstraDBAdmin();
18-
}
12+
// You can omit the token if you defined the `ASTRA_DB_APPLICATION_TOKEN`
13+
// environment variable or if you are using the Astra CLI.
14+
AstraDBAdmin defaultClient=new AstraDBAdmin();
15+
}
1916
}

0 commit comments

Comments
 (0)