DATAMONGO-2423 - Polishing.

Update nullability annotations and reduce visibility in tests.

Original pull request: #815.
This commit is contained in:
Christoph Strobl
2019-12-11 10:06:02 +01:00
committed by Mark Paluch
parent 3100e0db01
commit eb5a331822
3 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,6 @@ public class GeospatialIndex implements IndexDefinition {
return document;
}
@Nullable
public Document getIndexOptions() {
Document document = new Document();

View File

@@ -30,7 +30,7 @@ public class CachingMongoPersistentProperty extends BasicMongoPersistentProperty
private @Nullable Boolean isIdProperty;
private @Nullable Boolean isAssociation;
private @Nullable boolean dbRefResolved;
private boolean dbRefResolved;
private @Nullable DBRef dbref;
private @Nullable String fieldName;
private @Nullable Boolean usePropertyAccess;

View File

@@ -101,6 +101,7 @@ public class MapReduceResults<T> implements Iterable<T> {
return outputCollection;
}
@Nullable
public Document getRawResults() {
return rawResults;
}