Update AccessPoint.java

pull/65/head
DALL'AGNOLA Cédric 7 years ago committed by GitHub
parent 3564d3a03c
commit e8c3d11003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,10 +42,11 @@ public class AccessPoint {
Node serverNode = ParserUtils.getChildNodeWithTag(apNode, "Server");
if (serverNode != null)
this.server = new Server(serverNode, typeDeclarations);
}
if (serverNode == null) {
server = null;
} else {
server = new Server(serverNode, typeDeclarations);
}
public String getName() {
return name;

Loading…
Cancel
Save