[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -422,6 +422,7 @@ public class ExecHandler extends BaseThingHandler {
|
||||
}
|
||||
|
||||
public static String getOperatingSystemName() {
|
||||
return System.getProperty("os.name");
|
||||
String osname = System.getProperty("os.name");
|
||||
return osname != null ? osname : "unknown";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user