[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -189,8 +189,9 @@ public class SqueezeBoxPlayerHandler extends BaseThingHandler implements Squeeze
|
||||
// Some of the code below is not designed to handle REFRESH, only reply to channels where cached values exist
|
||||
if (command == RefreshType.REFRESH) {
|
||||
String channelID = channelUID.getId();
|
||||
if (stateMap.containsKey(channelID)) {
|
||||
updateState(channelID, stateMap.get(channelID));
|
||||
State newState = stateMap.get(channelID);
|
||||
if (newState != null) {
|
||||
updateState(channelID, newState);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user