Remove Map null annotation workarounds (#8916)

These workarounds to prevent false positives can be removed now the EEAs allow for proper null analysis.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2020-11-04 13:57:24 +01:00
committed by GitHub
parent 1dccf67909
commit b423f93b1f
124 changed files with 315 additions and 387 deletions

View File

@@ -58,8 +58,7 @@ public class GreeDiscoveryService extends AbstractDiscoveryService {
@Activate
public GreeDiscoveryService(@Reference GreeDeviceFinder deviceFinder,
@Reference NetworkAddressService networkAddressService,
@Reference GreeTranslationProvider translationProvider,
@Nullable Map<String, @Nullable Object> configProperties) {
@Reference GreeTranslationProvider translationProvider, @Nullable Map<String, Object> configProperties) {
super(SUPPORTED_THING_TYPES_UIDS, TIMEOUT_SEC);
this.messages = translationProvider;
this.deviceFinder = deviceFinder;
@@ -70,7 +69,7 @@ public class GreeDiscoveryService extends AbstractDiscoveryService {
@Override
@Modified
protected void modified(@Nullable Map<String, @Nullable Object> configProperties) {
protected void modified(@Nullable Map<String, Object> configProperties) {
super.modified(configProperties);
}