Commit 697be93d authored by Dominique Marcadet's avatar Dominique Marcadet

check presence of Server in AccessPoint

parent 8ace40ff
......@@ -81,6 +81,9 @@ public class SclUtilities {
}
public static Pair< LDevice, Integer > getLDevice( @NonNull AccessPoint accessPoint, @NonNull String ldInst ) {
if( accessPoint.getServer() == null ) {
return Pair.of( null, 0 );
}
List< LDevice > res =
accessPoint
.getServer()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment