[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -265,10 +265,11 @@ public class Parser {
|
||||
source.setMuted(properties.get("muted").equalsIgnoreCase("yes"));
|
||||
}
|
||||
if (properties.containsKey("volume")) {
|
||||
source.setVolume(Integer.valueOf(parseVolume(properties.get("volume"))));
|
||||
source.setVolume(parseVolume(properties.get("volume")));
|
||||
}
|
||||
if (properties.containsKey("monitor_of")) {
|
||||
source.setMonitorOf(client.getSink(Integer.valueOf(properties.get("monitor_of"))));
|
||||
String monitorOf = properties.get("monitor_of");
|
||||
if (monitorOf != null) {
|
||||
source.setMonitorOf(client.getSink(Integer.valueOf(monitorOf)));
|
||||
}
|
||||
sources.add(source);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user