@@ -1083,7 +1083,7 @@ public void setClientSession(ClientSessionImpl clientSession) {
1083
1083
}
1084
1084
1085
1085
/**
1086
- * @return the jsonMode as specified by jsonMode query paramter
1086
+ * @return the jsonMode as specified by jsonMode query parameter
1087
1087
*/
1088
1088
public JsonMode getJsonMode () {
1089
1089
return jsonMode ;
@@ -1179,7 +1179,7 @@ public long getRequestStartTime() {
1179
1179
1180
1180
/**
1181
1181
* @param dbName
1182
- * Seehttps ://docs .mongodb.org/v3.2/ reference/limits/#naming-restrictions
1182
+ * See <a href="https ://www .mongodb.com/docs/manual/ reference/limits/#naming-restrictions">mongodb naming restrictions</a>
1183
1183
* @return
1184
1184
*/
1185
1185
public boolean isDbNameInvalid (String dbName ) {
@@ -1192,7 +1192,7 @@ public boolean isDbNameInvalid(String dbName) {
1192
1192
|| dbName .contains ("\" " )
1193
1193
|| dbName .contains ("$" )
1194
1194
|| dbName .length () > 64
1195
- || dbName .length () == 0 );
1195
+ || dbName .isEmpty () );
1196
1196
}
1197
1197
1198
1198
/**
@@ -1206,7 +1206,7 @@ public boolean isDbNameInvalidOnWindows() {
1206
1206
1207
1207
/**
1208
1208
* @param dbName
1209
- * Seehttps ://docs .mongodb.org/v3.2/ reference/limits/#naming-restrictions
1209
+ * See <a href="https ://www .mongodb.com/docs/manual/ reference/limits/#naming-restrictions">mongodb naming restrictions</a>
1210
1210
* @return
1211
1211
*/
1212
1212
public boolean isDbNameInvalidOnWindows (String dbName ) {
@@ -1221,7 +1221,7 @@ public boolean isDbNameInvalidOnWindows(String dbName) {
1221
1221
}
1222
1222
1223
1223
/**
1224
- * See https://www.mongodb.com/docs/manual/reference/limits/#naming-restrictions
1224
+ * See <a href=" https://www.mongodb.com/docs/manual/reference/limits/#naming-restrictions">mongodb naming restrictions</a>
1225
1225
*
1226
1226
* @return
1227
1227
*/
@@ -1231,7 +1231,7 @@ public boolean isCollectionNameInvalid() {
1231
1231
1232
1232
/**
1233
1233
* @param collectionName
1234
- * See https://www.mongodb.com/docs/manual/reference/limits/#naming-restrictions
1234
+ * See <a href=" https://www.mongodb.com/docs/manual/reference/limits/#naming-restrictions">mongodb naming restrictions</a>
1235
1235
* @return
1236
1236
*/
1237
1237
public boolean isCollectionNameInvalid (String collectionName ) {
0 commit comments