DATAKV-197 - Introduce usage of nullable annotations for API validation.
Annotate all packages with Spring Frameworks @NonNullApi and @NonNullFields. Add Spring's @Nullable to methods, parameters and fields that take or produce null values. Adapted using code to make sure the IDE can evaluate the null flow properly. Fix Javadoc in places where an invalid null handling policy was advertised. Strengthened null requirements for types that expose null-instances. Original Pull Request: #28
This commit is contained in:
committed by
Christoph Strobl
parent
f1935f73b7
commit
83057f1288
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Repository implementation backed by generic {@link java.util.Map} instances.
|
||||
*/
|
||||
@org.springframework.lang.NonNullApi
|
||||
@org.springframework.lang.NonNullFields
|
||||
package org.springframework.data.map;
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Support infrastructure for the configuration of {@link java.util.Map} repositories.
|
||||
*/
|
||||
@org.springframework.lang.NonNullApi
|
||||
@org.springframework.lang.NonNullFields
|
||||
package org.springframework.data.map.repository.config;
|
||||
Reference in New Issue
Block a user