We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eeaade commit 6ff5948Copy full SHA for 6ff5948
sorter/src/main/java/sortpom/output/XmlOutputGenerator.java
@@ -110,11 +110,9 @@ private NamespaceStack findParentNamespaceStack() {
110
111
@Override
112
protected void writeEmptyElementClose(String qualifiedName) throws IOException {
113
- if (!format.isExpandEmptyElements()) {
114
- if (spaceBeforeCloseEmptyElement) {
115
- // add an extra place before closing tag
116
- writer.write(' ');
117
- }
+ if (!format.isExpandEmptyElements() && spaceBeforeCloseEmptyElement) {
+ // add an extra place before closing tag
+ writer.write(' ');
118
}
119
super.writeEmptyElementClose(qualifiedName);
120
0 commit comments