You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2022/02/20 14:14:45 UTC

[logging-log4j2] 02/03: Format nits.

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

ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 7cb2c9ad3a60edeb085fc20e46f89a8fb0ee5f87
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 20 08:36:08 2022 -0500

    Format nits.
---
 .../src/main/java/org/apache/log4j/xml/XmlConfiguration.java          | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/xml/XmlConfiguration.java b/log4j-1.2-api/src/main/java/org/apache/log4j/xml/XmlConfiguration.java
index 88a4c3d..3fe95d4 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/xml/XmlConfiguration.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/xml/XmlConfiguration.java
@@ -710,8 +710,7 @@ public class XmlConfiguration extends Log4j1Configuration {
 
         if (!rootElementName.equals(CONFIGURATION_TAG)) {
             if (rootElementName.equals(OLD_CONFIGURATION_TAG)) {
-                LOGGER.warn("The <" + OLD_CONFIGURATION_TAG +
-                        "> element has been deprecated.");
+                LOGGER.warn("The <" + OLD_CONFIGURATION_TAG + "> element has been deprecated.");
                 LOGGER.warn("Use the <" + CONFIGURATION_TAG + "> element instead.");
             } else {
                 LOGGER.error("DOM element is - not a <" + CONFIGURATION_TAG + "> element.");
@@ -728,7 +727,6 @@ public class XmlConfiguration extends Log4j1Configuration {
         String status = "error";
         if (!debugAttrib.equals("") && !debugAttrib.equals("null")) {
             status = OptionConverter.toBoolean(debugAttrib, true) ? "debug" : "error";
-
         } else {
             LOGGER.debug("Ignoring " + INTERNAL_DEBUG_ATTR + " attribute.");
         }