[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:
@@ -231,10 +231,8 @@ public class MainTVServerService implements UpnpIOParticipant, SamsungTvService
|
||||
|
||||
if (result.get("Result").equals("OK")) {
|
||||
String xml = result.get("SourceList");
|
||||
|
||||
Map<String, String> list = parseSourceList(xml);
|
||||
if (list != null) {
|
||||
id = list.get(source);
|
||||
if (xml != null) {
|
||||
id = parseSourceList(xml).get(source);
|
||||
}
|
||||
} else {
|
||||
logger.warn("Source list query failed, result='{}'", result.get("Result"));
|
||||
|
||||
Reference in New Issue
Block a user