Skip to content

Commit 0b2d1ce

Browse files
authored
Update DeleteDatabase.java
* Use the standard two-space indent * Reword the comment * Simplify placeholders
1 parent ffab770 commit 0b2d1ce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import com.dtsx.astra.sdk.AstraDBAdmin;
44

55
public class DeleteDatabase {
6-
public static void main(String[] args) {
7-
AstraDBAdmin client = new AstraDBAdmin("<replace_with_token>");
6+
public static void main(String[] args) {
7+
AstraDBAdmin client = new AstraDBAdmin("<token>");
88

9-
// Delete from its Name
10-
client.deleteDatabase("<replace_with_db_name>");
11-
}
9+
// Delete an existing database
10+
client.deleteDatabase("<database_name>");
11+
}
1212
}

0 commit comments

Comments
 (0)