[infrastructure] move infered nullness warnings to error and update EEA (#8949)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -70,6 +70,10 @@ public class RFXComDeviceDiscoveryService extends AbstractDiscoveryService imple
|
||||
|
||||
String id = message.getDeviceId();
|
||||
ThingTypeUID uid = RFXComBindingConstants.PACKET_TYPE_THING_TYPE_UID_MAP.get(message.getPacketType());
|
||||
if (uid == null) {
|
||||
logger.debug("cannot find uid for message {}", message);
|
||||
return;
|
||||
}
|
||||
ThingUID thingUID = new ThingUID(uid, bridge, id.replace(ID_DELIMITER, "_"));
|
||||
|
||||
if (!bridgeHandler.getConfiguration().disableDiscovery) {
|
||||
|
||||
Reference in New Issue
Block a user