Skip to content

Commit

Permalink
remove writer.getIndent() == 0
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot authored Feb 15, 2024
1 parent a8b9740 commit 2d8b509
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ private void parseElement() throws IOException {
int idIndex = is.readInt16();
int classIndex = is.readInt16();
int styleIndex = is.readInt16();
if ("manifest".equals(currentTag) || writer.getIndent() == 0 || definedNamespaces.size() != nsMap.size()) {
if ("manifest".equals(currentTag) || definedNamespaces.size() != nsMap.size()) {
for (Map.Entry<String, String> entry : nsMap.entrySet()) {
if (!definedNamespaces.contains(entry.getKey())) {
definedNamespaces.add(entry.getKey());
Expand Down

0 comments on commit 2d8b509

Please sign in to comment.