From d49064f7ffd44c423b08bc7d25cd1cf5049b45fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DALL=27AGNOLA=20C=C3=A9dric?= Date: Tue, 29 May 2018 16:17:31 +0200 Subject: [PATCH] Update IED.java Tolerate IED without access point --- tools/model_generator/src/com/libiec61850/scl/model/IED.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/model_generator/src/com/libiec61850/scl/model/IED.java b/tools/model_generator/src/com/libiec61850/scl/model/IED.java index fb381aeb..45936a04 100644 --- a/tools/model_generator/src/com/libiec61850/scl/model/IED.java +++ b/tools/model_generator/src/com/libiec61850/scl/model/IED.java @@ -41,9 +41,6 @@ public class IED { List accessPointNodes = ParserUtils.getChildNodesWithTag(iedNode, "AccessPoint"); - if (accessPointNodes.size() == 0) - throw new SclParserException(iedNode, "no AccessPoint defined in IED " + name); - this.accessPoints = new LinkedList(); for (Node accessPointNode : accessPointNodes) {