Skip to content

Commit 36a4b7f

Browse files
Polishing - Update outdated links in Javadoc.
Original Pull Request #3883
1 parent a8432f5 commit 36a4b7f

File tree

1 file changed

+10
-10
lines changed
  • spring-data-mongodb/src/test/java/org/springframework/data/mongodb/test/util

1 file changed

+10
-10
lines changed

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/test/util/CleanMongoDB.java

+10-10
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public CleanMongoDB(MongoClient client) {
9999
}
100100

101101
/**
102-
* Removes everything by dropping every single {@link DB}.
102+
* Removes everything by dropping every single {@link MongoDatabase}.
103103
*
104104
* @return
105105
*/
@@ -111,7 +111,7 @@ public static CleanMongoDB everything() {
111111
}
112112

113113
/**
114-
* Removes everything from the databases with given name by dropping the according {@link DB}.
114+
* Removes everything from the databases with given name by dropping the according {@link MongoDatabase}.
115115
*
116116
* @param dbNames
117117
* @return
@@ -125,7 +125,7 @@ public static CleanMongoDB databases(String... dbNames) {
125125
}
126126

127127
/**
128-
* Drops the {@link DBCollection} with given names from every single {@link DB} containing them.
128+
* Drops the {@link MongoCollection} with given names from every single {@link MongoDatabase} containing them.
129129
*
130130
* @param collectionNames
131131
* @return
@@ -135,7 +135,7 @@ public static CleanMongoDB collections(String... collectionNames) {
135135
}
136136

137137
/**
138-
* Drops the {@link DBCollection} with given names from the named {@link DB}.
138+
* Drops the {@link MongoCollection} with given names from the named {@link MongoDatabase}.
139139
*
140140
* @param dbName
141141
* @param collectionNames
@@ -150,7 +150,7 @@ public static CleanMongoDB collections(String dbName, Collection<String> collect
150150
}
151151

152152
/**
153-
* Drops all index structures from every single {@link DBCollection}.
153+
* Drops all index structures from every single {@link MongoCollection}.
154154
*
155155
* @return
156156
*/
@@ -159,7 +159,7 @@ public static CleanMongoDB indexes() {
159159
}
160160

161161
/**
162-
* Drops all index structures from every single {@link DBCollection}.
162+
* Drops all index structures from every single {@link MongoCollection}.
163163
*
164164
* @param collectionNames
165165
* @return
@@ -185,7 +185,7 @@ public CleanMongoDB clean(Struct... types) {
185185
}
186186

187187
/**
188-
* Defines the {@link DB}s to be used. <br />
188+
* Defines the {@link MongoDatabase}s to be used. <br />
189189
* Impact along with {@link CleanMongoDB#clean(Struct...)}:
190190
* <ul>
191191
* <li>{@link Struct#DATABASE}: Forces drop of named databases.</li>
@@ -203,7 +203,7 @@ public CleanMongoDB useDatabases(String... dbNames) {
203203
}
204204

205205
/**
206-
* Excludes the given {@link DB}s from being processed.
206+
* Excludes the given {@link MongoDatabase}s from being processed.
207207
*
208208
* @param dbNames
209209
* @return
@@ -214,7 +214,7 @@ public CleanMongoDB preserveDatabases(String... dbNames) {
214214
}
215215

216216
/**
217-
* Defines the {@link DBCollection}s to be used. <br />
217+
* Defines the {@link MongoCollection}s to be used. <br />
218218
* Impact along with {@link CleanMongoDB#clean(Struct...)}:
219219
* <ul>
220220
* <li>{@link Struct#COLLECTION}: Forces drop of named collections.</li>
@@ -233,7 +233,7 @@ private CleanMongoDB useCollections(Collection<String> collectionNames) {
233233
}
234234

235235
/**
236-
* Defines the {@link DBCollection}s and {@link DB} to be used. <br />
236+
* Defines the {@link MongoCollection}s and {@link MongoDatabase} to be used. <br />
237237
* Impact along with {@link CleanMongoDB#clean(Struct...)}:
238238
* <ul>
239239
* <li>{@link Struct#COLLECTION}: Forces drop of named collections in given db.</li>

0 commit comments

Comments
 (0)