Skip to content

Commit 3a97b3f

Browse files
committed
DATAMONGO-2193 - Polishing.
Reformat code. Original pull request: #640.
1 parent f4c9cdc commit 3a97b3f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/QueryMapper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ protected boolean isNestedKeyword(Object candidate) {
636636

637637
/**
638638
* Returns whether the given {@link String} is the type key.
639-
*
639+
*
640640
* @param key
641641
* @return
642642
* @see MongoTypeMapper#isTypeKey(String)
@@ -931,7 +931,7 @@ public MetadataBackedField with(String name) {
931931
@Override
932932
public boolean isIdField() {
933933

934-
if(property != null) {
934+
if (property != null) {
935935
return property.isIdProperty();
936936
}
937937

@@ -1056,7 +1056,7 @@ private PersistentPropertyPath<MongoPersistentProperty> getPath(String pathExpre
10561056
}
10571057

10581058
return propertyPath;
1059-
} catch (PropertyReferenceException | InvalidPersistentPropertyPath e) {
1059+
} catch (PropertyReferenceException | InvalidPersistentPropertyPath e) {
10601060
return null;
10611061
}
10621062
}

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/MongoTemplateTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545

4646
import org.bson.types.ObjectId;
4747
import org.hamcrest.collection.IsMapContaining;
48-
import org.hamcrest.core.IsSame;
4948
import org.joda.time.DateTime;
5049
import org.junit.After;
5150
import org.junit.Before;

0 commit comments

Comments
 (0)