DATAMONGO-2423 - Polishing.
Update nullability annotations and reduce visibility in tests. Original pull request: #815.
This commit is contained in:
committed by
Mark Paluch
parent
a9e50b28df
commit
5cffaf9d73
@@ -184,7 +184,6 @@ public class GeospatialIndex implements IndexDefinition {
|
||||
return document;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Document getIndexOptions() {
|
||||
|
||||
Document document = new Document();
|
||||
|
||||
@@ -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 Class<?> fieldType;
|
||||
|
||||
@@ -101,6 +101,7 @@ public class MapReduceResults<T> implements Iterable<T> {
|
||||
return outputCollection;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Document getRawResults() {
|
||||
return rawResults;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user