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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user