You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/01/30 10:09:05 UTC

[logging-log4j-tools] branch master updated: Remove forgotten code in `XmlWriter`

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 32089e4  Remove forgotten code in `XmlWriter`
32089e4 is described below

commit 32089e4656fbf485a5198712e2a0436c89fdcc13
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Jan 30 11:10:26 2023 +0100

    Remove forgotten code in `XmlWriter`
---
 .../main/java/org/apache/logging/log4j/changelog/util/XmlWriter.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/util/XmlWriter.java b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/util/XmlWriter.java
index 3af34c4..d3f35b7 100644
--- a/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/util/XmlWriter.java
+++ b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/util/XmlWriter.java
@@ -93,9 +93,6 @@ public final class XmlWriter {
 
             // Apply requested changes
             documentConsumer.accept(document, rootElement);
-//            rootElement.setAttribute("xmlns", XmlUtils.XML_NAMESPACE);
-//            rootElement.setAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
-//            rootElement.setAttribute("xsi:schemaLocation", XmlUtils.XML_NAMESPACE + " "+ XmlUtils.XML_SCHEMA_LOCATION);
 
             // Serialize the document
             return serializeXmlDocument(document, rootElementName);