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

@@ -262,7 +262,7 @@ public class NullableUtils {
.collect(Collectors.toSet());
}
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "rawtypes" })
private static <T> Optional<Class<T>> findClass(String className) {
try {