- GeneralLog is default name for Logs

pull/6/head
Michael Zillgith 9 years ago
parent 6d03f18748
commit 379c2ac445

@ -33,8 +33,10 @@ public class Log {
public Log(Node logNode) throws SclParserException {
name = ParserUtils.parseAttribute(logNode, "name");
if (name == null)
throw new SclParserException(logNode, "Log is missing required attribute name!");
if (name == null) {
/* Use default log name */
name = "GeneralLog";
}
}
public String getName() {

Loading…
Cancel
Save