DATAMONGO-2221 - Polishing.

Reformat imports.

Original pull request: #732.
This commit is contained in:
Mark Paluch
2019-03-26 14:44:18 +01:00
parent d7cd97ea89
commit 24677fabd1
2 changed files with 3 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ import org.bson.BsonValue;
import org.bson.Document;
import org.bson.conversions.Bson;
import org.bson.types.ObjectId;
import org.springframework.core.convert.ConversionService;
import org.springframework.core.convert.converter.Converter;
import org.springframework.data.domain.Example;
@@ -1078,7 +1079,7 @@ public class QueryMapper {
* Querydsl happens to map id fields directly to {@literal _id} which breaks {@link PropertyPath} resolution. So if
* the first attempt fails we try to replace {@literal _id} with just {@literal id} and see if we can resolve if
* then.
*
*
* @param path
* @return the path or {@literal null}
*/

View File

@@ -34,6 +34,7 @@ import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.data.annotation.Id;
import org.springframework.data.domain.Sort;
import org.springframework.data.domain.Sort.Direction;