DATAMONGO-2193 - Polishing.

Reformat code.

Original pull request: #640.
This commit is contained in:
Mark Paluch
2019-02-05 11:35:21 +01:00
parent f4c9cdcacb
commit 3a97b3fbf1
2 changed files with 3 additions and 4 deletions

View File

@@ -636,7 +636,7 @@ public class QueryMapper {
/**
* Returns whether the given {@link String} is the type key.
*
*
* @param key
* @return
* @see MongoTypeMapper#isTypeKey(String)
@@ -931,7 +931,7 @@ public class QueryMapper {
@Override
public boolean isIdField() {
if(property != null) {
if (property != null) {
return property.isIdProperty();
}
@@ -1056,7 +1056,7 @@ public class QueryMapper {
}
return propertyPath;
} catch (PropertyReferenceException | InvalidPersistentPropertyPath e) {
} catch (PropertyReferenceException | InvalidPersistentPropertyPath e) {
return null;
}
}

View File

@@ -45,7 +45,6 @@ import java.util.stream.IntStream;
import org.bson.types.ObjectId;
import org.hamcrest.collection.IsMapContaining;
import org.hamcrest.core.IsSame;
import org.joda.time.DateTime;
import org.junit.After;
import org.junit.Before;