File tree 2 files changed +3
-3
lines changed
spring-data-mongodb/src/main/java/org/springframework/data/mongodb
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ public abstract class MongoSimpleTypes {
43
43
public static final Set <Class <?>> AUTOGENERATED_ID_TYPES ;
44
44
45
45
static {
46
- Set <Class <?>> classes = new HashSet <Class <?> >();
46
+ Set <Class <?>> classes = new HashSet <>();
47
47
classes .add (ObjectId .class );
48
48
classes .add (String .class );
49
49
classes .add (BigInteger .class );
50
50
AUTOGENERATED_ID_TYPES = Collections .unmodifiableSet (classes );
51
51
52
- Set <Class <?>> simpleTypes = new HashSet <Class <?> >();
52
+ Set <Class <?>> simpleTypes = new HashSet <>();
53
53
simpleTypes .add (DBRef .class );
54
54
simpleTypes .add (ObjectId .class );
55
55
simpleTypes .add (BsonObjectId .class );
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public static boolean isMongo34Driver() {
51
51
}
52
52
53
53
/**
54
- * @return {lliteral true} if MongoDB Java driver is on classpath.
54
+ * @return {@literal true} if MongoDB Java driver is on classpath.
55
55
*/
56
56
public static boolean isAsyncClient () {
57
57
return IS_ASYNC_CLIENT ;
You can’t perform that action at this time.
0 commit comments