Skip to content

Commit b4c0969

Browse files
committed
Removed unnecessay boolean
1 parent 9c47f0c commit b4c0969

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lib/xmljava.jar

-9 Bytes
Binary file not shown.

src/com/maxprograms/xml/Indenter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ private static void recurse(Element e) {
4040
if ("preserve".equals(e.getAttributeValue("xml:space"))) {
4141
return;
4242
}
43-
boolean hasText = hasText(e);
44-
if (!hasText) {
43+
if (!hasText(e)) {
4544
indent(e);
4645
}
4746
level++;

0 commit comments

Comments
 (0)