Commit fa7ae40c authored by Dominique Marcadet's avatar Dominique Marcadet

Merge branch '45-avoid-potential-npe-in-sclutilities' into 'master'

Resolve "Avoid potential NPE in SclUtilities"

Closes #45

See merge request RiseClipseGroup/RiseClipseMetamodel_SCL2003!41
parents 8ace40ff 697be93d
......@@ -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