Skip to content

Commit 9f43d3f

Browse files
committed
DATAMONGO-1588 - Polishing.
Remove unused fields. Fix typo in method name. Reformat inner class to align formatting. Original pull request: #435.
1 parent 95985ff commit 9f43d3f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/repository/query/MongoQueryCreatorUnitTests.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@
7171
*/
7272
public class MongoQueryCreatorUnitTests {
7373

74-
Method findByFirstname, findByFirstnameAndFriend, findByFirstnameNotNull;
75-
7674
MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> context;
7775
MongoConverter converter;
7876

@@ -472,7 +470,7 @@ public void shouldCreateRegexWhenUsingNotContainsOnStringProperty() {
472470
* @see DATAMONGO-1139
473471
*/
474472
@Test
475-
public void createsNonShericalNearForDistanceWithDefaultMetric() {
473+
public void createsNonSphericalNearForDistanceWithDefaultMetric() {
476474

477475
Point point = new Point(1.0, 1.0);
478476
Distance distance = new Distance(1.0);
@@ -725,11 +723,14 @@ class User {
725723
static class Address {
726724

727725
String street;
726+
728727
Point geo;
729728
}
730729

731730
static class Address2dSphere {
731+
732732
String street;
733+
733734
@GeoSpatialIndexed(type = GeoSpatialIndexType.GEO_2DSPHERE) Point geo;
734735
}
735736
}

0 commit comments

Comments
 (0)