@@ -96,9 +96,7 @@ public interface ArangoDBAsync extends ArangoSerializationAccessor {
96
96
*
97
97
* @param name Name of the database
98
98
* @return database handler
99
- * @deprecated Use {@link #db(DbName)} instead
100
99
*/
101
- @ Deprecated
102
100
default ArangoDatabaseAsync db (final String name ) {
103
101
return db (DbName .of (name ));
104
102
}
@@ -108,7 +106,9 @@ default ArangoDatabaseAsync db(final String name) {
108
106
*
109
107
* @param dbName Name of the database
110
108
* @return database handler
109
+ * @deprecated Use {@link #db(String)} instead
111
110
*/
111
+ @ Deprecated
112
112
ArangoDatabaseAsync db (final DbName dbName );
113
113
114
114
/**
@@ -123,9 +123,7 @@ default ArangoDatabaseAsync db(final String name) {
123
123
* @return true if the database was created successfully.
124
124
* @see <a href="https://www.arangodb.com/docs/stable/http/database-database-management.html#create-database">API
125
125
* Documentation</a>
126
- * @deprecated Use {@link #createDatabase(DbName)} instead
127
126
*/
128
- @ Deprecated
129
127
default CompletableFuture <Boolean > createDatabase (final String name ) {
130
128
return createDatabase (DbName .of (name ));
131
129
}
@@ -137,7 +135,9 @@ default CompletableFuture<Boolean> createDatabase(final String name) {
137
135
* @return true if the database was created successfully.
138
136
* @see <a href="https://www.arangodb.com/docs/stable/http/database-database-management.html#create-database">API
139
137
* Documentation</a>
138
+ * @deprecated Use {@link #createDatabase(String)} instead
140
139
*/
140
+ @ Deprecated
141
141
CompletableFuture <Boolean > createDatabase (final DbName dbName );
142
142
143
143
/**
0 commit comments