DATAMONGO-2193 - Polishing.
Reformat code. Original pull request: #640.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user