[Minor] Fixed closing empty tag in StrolchElementToSaxWriterVisitor
This commit is contained in:
parent
e6697eb9c2
commit
9c7b155b9d
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue