Skip to content

Commit 24677fa

Browse files
committed
DATAMONGO-2221 - Polishing.
Reformat imports. Original pull request: #732.
1 parent d7cd97e commit 24677fa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import org.bson.Document;
3434
import org.bson.conversions.Bson;
3535
import org.bson.types.ObjectId;
36+
3637
import org.springframework.core.convert.ConversionService;
3738
import org.springframework.core.convert.converter.Converter;
3839
import org.springframework.data.domain.Example;
@@ -1078,7 +1079,7 @@ private PersistentPropertyPath<MongoPersistentProperty> getPath(String pathExpre
10781079
* Querydsl happens to map id fields directly to {@literal _id} which breaks {@link PropertyPath} resolution. So if
10791080
* the first attempt fails we try to replace {@literal _id} with just {@literal id} and see if we can resolve if
10801081
* then.
1081-
*
1082+
*
10821083
* @param path
10831084
* @return the path or {@literal null}
10841085
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import org.junit.runner.RunWith;
3535
import org.mockito.Mock;
3636
import org.mockito.junit.MockitoJUnitRunner;
37+
3738
import org.springframework.data.annotation.Id;
3839
import org.springframework.data.domain.Sort;
3940
import org.springframework.data.domain.Sort.Direction;

0 commit comments

Comments
 (0)