DATAMONGO-2542 - Polishing.

Fix nullable annotation.

Original pull request: #863.
This commit is contained in:
Mark Paluch
2020-05-26 10:31:42 +02:00
parent 44cc0dad94
commit a2e5009f42

View File

@@ -1080,7 +1080,7 @@ public class QueryMapper {
*/ */
@Nullable @Nullable
private PersistentPropertyPath<MongoPersistentProperty> getPath(String pathExpression, private PersistentPropertyPath<MongoPersistentProperty> getPath(String pathExpression,
MongoPersistentProperty sourceProperty) { @Nullable MongoPersistentProperty sourceProperty) {
String rawPath = removePlaceholders(POSITIONAL_OPERATOR, String rawPath = removePlaceholders(POSITIONAL_OPERATOR,
removePlaceholders(DOT_POSITIONAL_PATTERN, pathExpression)); removePlaceholders(DOT_POSITIONAL_PATTERN, pathExpression));