Skip to content

Commit 245b4d7

Browse files
fix typo
1 parent d261f8a commit 245b4d7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/main/com/mongodb/DBApiLayer.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@
1919
package com.mongodb;
2020

2121
import java.util.*;
22-
import java.util.logging.*;
22+
import java.util.concurrent.ConcurrentLinkedQueue;
23+
import java.util.logging.Level;
24+
import java.util.logging.Logger;
2325

24-
import org.bson.*;
25-
import org.bson.types.*;
26+
import org.bson.BSONObject;
27+
import org.bson.types.ObjectId;
2628

27-
import com.mongodb.util.*;
28-
import java.util.concurrent.ConcurrentLinkedQueue;
29+
import com.mongodb.util.JSON;
2930

3031
/** Database API
3132
* This cannot be directly instantiated, but the functions are available
@@ -312,7 +313,7 @@ public WriteResult update( DBObject query , DBObject o , boolean upsert , boolea
312313
throws MongoException {
313314

314315
if (o != null && !o.keySet().isEmpty()) {
315-
// if 1st key doesnt start with $, then object will be inserted as is, need to check it
316+
// if 1st key doesn't start with $, then object will be inserted as is, need to check it
316317
String key = o.keySet().iterator().next();
317318
if (key.charAt(0) != '$')
318319
_checkObject(o, false, false);

0 commit comments

Comments
 (0)