[Minor] Fixed closing empty tag in StrolchElementToSaxWriterVisitor

This commit is contained in:
Robert von Burg 2015-11-28 12:37:15 +01:00
parent e6697eb9c2
commit 9c7b155b9d
1 changed files with 1 additions and 3 deletions

View File

@ -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();
}