Skip to content

Commit d6b49e1

Browse files
committed
Javadoc: Fix broken documentation links
JAVA-2237
1 parent 08f2160 commit d6b49e1

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

driver-async/src/main/com/mongodb/async/client/MongoClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public interface MongoClient extends Closeable {
5858
/**
5959
* Get a list of the database names
6060
*
61-
* @mongodb.driver.manual reference/commands/listDatabases List Databases
61+
* @mongodb.driver.manual reference/command/listDatabases List Databases
6262
* @return an iterable containing all the names of all the databases
6363
*/
6464
MongoIterable<String> listDatabaseNames();

driver-async/src/main/com/mongodb/async/client/MongoCollection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ void bulkWrite(List<? extends WriteModel<? extends TDocument>> requests, BulkWri
605605
* @param callback the callback that is completed once the collection has been renamed
606606
* @throws com.mongodb.MongoServerException if you provide a newCollectionName that is the name of an existing collection, or if the
607607
* oldCollectionName is the name of a collection that doesn't exist
608-
* @mongodb.driver.manual reference/commands/renameCollection Rename collection
608+
* @mongodb.driver.manual reference/command/renameCollection Rename collection
609609
*/
610610
void renameCollection(MongoNamespace newCollectionNamespace, SingleResultCallback<Void> callback);
611611

@@ -617,7 +617,7 @@ void bulkWrite(List<? extends WriteModel<? extends TDocument>> requests, BulkWri
617617
* @param callback the callback that is completed once the collection has been renamed
618618
* @throws com.mongodb.MongoServerException if you provide a newCollectionName that is the name of an existing collection and dropTarget
619619
* is false, or if the oldCollectionName is the name of a collection that doesn't exist
620-
* @mongodb.driver.manual reference/commands/renameCollection Rename collection
620+
* @mongodb.driver.manual reference/command/renameCollection Rename collection
621621
*/
622622
void renameCollection(MongoNamespace newCollectionNamespace, RenameCollectionOptions options, SingleResultCallback<Void> callback);
623623

driver-async/src/main/com/mongodb/async/client/MongoDatabase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <TResult> void runCommand(Bson command, ReadPreference readPreference, Class<TRe
170170
* Drops this database.
171171
*
172172
* @param callback the callback that is completed once the database has been dropped
173-
* @mongodb.driver.manual reference/commands/dropDatabase/#dbcmd.dropDatabase Drop database
173+
* @mongodb.driver.manual reference/command/dropDatabase/#dbcmd.dropDatabase Drop database
174174
*/
175175
void drop(SingleResultCallback<Void> callback);
176176

@@ -204,7 +204,7 @@ <TResult> void runCommand(Bson command, ReadPreference readPreference, Class<TRe
204204
*
205205
* @param collectionName the name for the new collection to create
206206
* @param callback the callback that is completed once the collection has been created
207-
* @mongodb.driver.manual reference/commands/create Create Command
207+
* @mongodb.driver.manual reference/command/create Create Command
208208
*/
209209
void createCollection(String collectionName, SingleResultCallback<Void> callback);
210210

@@ -214,7 +214,7 @@ <TResult> void runCommand(Bson command, ReadPreference readPreference, Class<TRe
214214
* @param collectionName the name for the new collection to create
215215
* @param options various options for creating the collection
216216
* @param callback the callback that is completed once the collection has been created
217-
* @mongodb.driver.manual reference/commands/create Create Command
217+
* @mongodb.driver.manual reference/command/create Create Command
218218
*/
219219
void createCollection(String collectionName, CreateCollectionOptions options, SingleResultCallback<Void> callback);
220220

driver/src/main/com/mongodb/MongoClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public List<MongoCredential> getCredentialsList() {
307307
/**
308308
* Get a list of the database names
309309
*
310-
* @mongodb.driver.manual reference/commands/listDatabases List Databases
310+
* @mongodb.driver.manual reference/command/listDatabases List Databases
311311
* @return an iterable containing all the names of all the databases
312312
* @since 3.0
313313
*/

driver/src/main/com/mongodb/client/MongoCollection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ public interface MongoCollection<TDocument> {
594594
* @param newCollectionNamespace the namespace the collection will be renamed to
595595
* @throws com.mongodb.MongoServerException if you provide a newCollectionName that is the name of an existing collection, or if the
596596
* oldCollectionName is the name of a collection that doesn't exist
597-
* @mongodb.driver.manual reference/commands/renameCollection Rename collection
597+
* @mongodb.driver.manual reference/command/renameCollection Rename collection
598598
*/
599599
void renameCollection(MongoNamespace newCollectionNamespace);
600600

@@ -605,7 +605,7 @@ public interface MongoCollection<TDocument> {
605605
* @param renameCollectionOptions the options for renaming a collection
606606
* @throws com.mongodb.MongoServerException if you provide a newCollectionName that is the name of an existing collection and dropTarget
607607
* is false, or if the oldCollectionName is the name of a collection that doesn't exist
608-
* @mongodb.driver.manual reference/commands/renameCollection Rename collection
608+
* @mongodb.driver.manual reference/command/renameCollection Rename collection
609609
*/
610610
void renameCollection(MongoNamespace newCollectionNamespace, RenameCollectionOptions renameCollectionOptions);
611611

driver/src/main/com/mongodb/client/MongoDatabase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public interface MongoDatabase {
167167
/**
168168
* Drops this database.
169169
*
170-
* @mongodb.driver.manual reference/commands/dropDatabase/#dbcmd.dropDatabase Drop database
170+
* @mongodb.driver.manual reference/command/dropDatabase/#dbcmd.dropDatabase Drop database
171171
*/
172172
void drop();
173173

@@ -200,7 +200,7 @@ public interface MongoDatabase {
200200
* Create a new collection with the given name.
201201
*
202202
* @param collectionName the name for the new collection to create
203-
* @mongodb.driver.manual reference/commands/create Create Command
203+
* @mongodb.driver.manual reference/command/create Create Command
204204
*/
205205
void createCollection(String collectionName);
206206

@@ -209,7 +209,7 @@ public interface MongoDatabase {
209209
*
210210
* @param collectionName the name for the new collection to create
211211
* @param createCollectionOptions various options for creating the collection
212-
* @mongodb.driver.manual reference/commands/create Create Command
212+
* @mongodb.driver.manual reference/command/create Create Command
213213
*/
214214
void createCollection(String collectionName, CreateCollectionOptions createCollectionOptions);
215215

0 commit comments

Comments
 (0)