DATACMNS-1224 - Polishing of nullability annotations.

Refactored code to properly check for null fields in Eclipse. Added warning suppressions where suitable.
This commit is contained in:
Oliver Gierke
2017-11-29 23:12:36 +01:00
parent d2a42f780a
commit 34cadd0b9b
16 changed files with 69 additions and 36 deletions

View File

@@ -56,6 +56,7 @@ public abstract class AbstractPersistentProperty<P extends PersistentProperty<P>
private final Lazy<Association<P>> association;
private final @Getter PersistentEntity<?, P> owner;
@SuppressWarnings("null") //
private final @Getter(value = AccessLevel.PROTECTED, onMethod = @__(@SuppressWarnings("null"))) Property property;
private final Lazy<Integer> hashCode;
private final Lazy<Boolean> usePropertyAccess;