|
28 | 28 | import java.util.Map;
|
29 | 29 | import java.util.Optional;
|
30 | 30 |
|
31 |
| -import lombok.Data; |
32 | 31 | import org.bson.conversions.Bson;
|
33 | 32 | import org.bson.types.Code;
|
34 | 33 | import org.bson.types.ObjectId;
|
|
49 | 48 | import org.springframework.data.mongodb.core.geo.GeoJsonPolygon;
|
50 | 49 | import org.springframework.data.mongodb.core.mapping.DBRef;
|
51 | 50 | import org.springframework.data.mongodb.core.mapping.Document;
|
52 |
| -import org.springframework.data.mongodb.core.mapping.DocumentReference; |
53 | 51 | import org.springframework.data.mongodb.core.mapping.Field;
|
54 | 52 | import org.springframework.data.mongodb.core.mapping.FieldType;
|
55 | 53 | import org.springframework.data.mongodb.core.mapping.MongoMappingContext;
|
56 | 54 | import org.springframework.data.mongodb.core.mapping.MongoPersistentEntity;
|
57 |
| -import org.springframework.data.mongodb.core.mapping.MongoPersistentProperty; |
58 | 55 | import org.springframework.data.mongodb.core.mapping.TextScore;
|
59 | 56 | import org.springframework.data.mongodb.core.mapping.Unwrapped;
|
60 | 57 | import org.springframework.data.mongodb.core.query.BasicQuery;
|
|
75 | 72 | * @author Christoph Strobl
|
76 | 73 | * @author Mark Paluch
|
77 | 74 | */
|
78 |
| -@ExtendWith(MockitoExtension.class) |
79 | 75 | public class QueryMapperUnitTests {
|
80 | 76 |
|
81 | 77 | private QueryMapper mapper;
|
@@ -1447,18 +1443,18 @@ static class ClassWithGeoTypes {
|
1447 | 1443 | @Field("geoJsonPointWithNameViaFieldAnnotation") GeoJsonPoint namedGeoJsonPoint;
|
1448 | 1444 | }
|
1449 | 1445 |
|
1450 |
| - static class SimpeEntityWithoutId { |
| 1446 | + static class SimpleEntityWithoutId { |
1451 | 1447 |
|
1452 | 1448 | String stringProperty;
|
1453 | 1449 | Integer integerProperty;
|
1454 | 1450 | }
|
1455 | 1451 |
|
1456 | 1452 | static class EntityWithComplexValueTypeMap {
|
1457 |
| - Map<Integer, SimpeEntityWithoutId> map; |
| 1453 | + Map<Integer, SimpleEntityWithoutId> map; |
1458 | 1454 | }
|
1459 | 1455 |
|
1460 | 1456 | static class EntityWithComplexValueTypeList {
|
1461 |
| - List<SimpeEntityWithoutId> list; |
| 1457 | + List<SimpleEntityWithoutId> list; |
1462 | 1458 | }
|
1463 | 1459 |
|
1464 | 1460 | static class WithExplicitTargetTypes {
|
|
0 commit comments