From 9c7b155b9d669efc993e29fc767551b2b562dc74 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Sat, 28 Nov 2015 12:37:15 +0100 Subject: [PATCH] [Minor] Fixed closing empty tag in StrolchElementToSaxWriterVisitor --- .../strolch/model/xml/StrolchElementToSaxWriterVisitor.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/li.strolch.model/src/main/java/li/strolch/model/xml/StrolchElementToSaxWriterVisitor.java b/li.strolch.model/src/main/java/li/strolch/model/xml/StrolchElementToSaxWriterVisitor.java index 92880edfb..3dfd042f7 100644 --- a/li.strolch.model/src/main/java/li/strolch/model/xml/StrolchElementToSaxWriterVisitor.java +++ b/li.strolch.model/src/main/java/li/strolch/model/xml/StrolchElementToSaxWriterVisitor.java @@ -66,9 +66,8 @@ public abstract class StrolchElementToSaxWriterVisitor { writeStartStrolchElement(Tags.RESOURCE, empty, resource); - if (resource.hasParameterBags()) { + if (resource.hasParameterBags()) writeParameterBags(resource); - } if (resource.hasTimedStates()) writeTimedStates(resource); @@ -168,7 +167,6 @@ public abstract class StrolchElementToSaxWriterVisitor { this.writer.writeEmptyElement(Tags.POLICY); this.writer.writeAttribute(Tags.TYPE, policyDef.getType()); this.writer.writeAttribute(Tags.VALUE, policyDef.getValueForXml()); - this.writer.writeEndElement(); } this.writer.writeEndElement(); }