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 2020/11/16 15:04:39 UTC

[logging-log4j2] 03/04: Remove trailing whitespace.

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 b8b3778e9fd03c8b153b7ca2fbdd14284720a682
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 16 09:58:06 2020 -0500

    Remove trailing whitespace.
---
 .../java/org/apache/log4j/config/Log4j1ConfigurationParser.java   | 2 +-
 .../src/main/java/org/apache/log4j/helpers/OptionConverter.java   | 8 ++++----
 .../src/main/java/org/apache/log4j/or/jms/MessageRenderer.java    | 2 +-
 log4j-1.2-api/src/main/java/org/apache/log4j/spi/ErrorCode.java   | 4 ++--
 log4j-1.2-api/src/test/java/org/apache/log4j/CategoryTest.java    | 2 +-
 log4j-1.2-api/src/test/java/org/apache/log4j/MDCTestCase.java     | 4 ++--
 log4j-1.2-api/src/test/java/org/apache/log4j/VelocityTest.java    | 6 +++---
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java b/log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java
index 112ab42..ea2834f 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java
@@ -47,7 +47,7 @@ import org.apache.logging.log4j.util.Strings;
  * Experimental parser for Log4j 1.2 properties configuration files.
  *
  * This class is not thread-safe.
- * 
+ *
  * <p>
  * From the Log4j 1.2 Javadocs:
  * </p>
diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/helpers/OptionConverter.java b/log4j-1.2-api/src/main/java/org/apache/log4j/helpers/OptionConverter.java
index e559045..59d3d9f 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/helpers/OptionConverter.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/helpers/OptionConverter.java
@@ -30,7 +30,7 @@ import java.util.Properties;
  * A convenience class to convert property values to specific types.
  */
 public class OptionConverter {
-    
+
     static String DELIM_START = "${";
     static char DELIM_STOP = '}';
     static int DELIM_START_LEN = 2;
@@ -44,7 +44,7 @@ public class OptionConverter {
         new CharMap('\b', '\b'),
         new CharMap('\"', '\"'),
         new CharMap('\'', '\''),
-        new CharMap('\\', '\\')    
+        new CharMap('\\', '\\')
     };
 
     /**
@@ -408,11 +408,11 @@ public class OptionConverter {
             return value;
         }
     }
-    
+
     private static class CharMap {
         final char key;
         final char replacement;
-        
+
         public CharMap(char key, char replacement) {
             this.key = key;
             this.replacement = replacement;
diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/or/jms/MessageRenderer.java b/log4j-1.2-api/src/main/java/org/apache/log4j/or/jms/MessageRenderer.java
index 5cb78fa..1666a07 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/or/jms/MessageRenderer.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/or/jms/MessageRenderer.java
@@ -29,7 +29,7 @@ import javax.jms.DeliveryMode;
  */
 public class MessageRenderer implements ObjectRenderer {
     private static final Logger LOGGER = StatusLogger.getLogger();
-    
+
     /**
      Render a {@link javax.jms.Message}.
      */
diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/spi/ErrorCode.java b/log4j-1.2-api/src/main/java/org/apache/log4j/spi/ErrorCode.java
index 7fbbf95..3de40ca 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/spi/ErrorCode.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/spi/ErrorCode.java
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/log4j-1.2-api/src/test/java/org/apache/log4j/CategoryTest.java b/log4j-1.2-api/src/test/java/org/apache/log4j/CategoryTest.java
index 6a8af76..6ea36c9 100644
--- a/log4j-1.2-api/src/test/java/org/apache/log4j/CategoryTest.java
+++ b/log4j-1.2-api/src/test/java/org/apache/log4j/CategoryTest.java
@@ -65,7 +65,7 @@ public class CategoryTest {
     public void before() {
         appender.clear();
     }
-    
+
     /**
      * Tests Category.forcedLog.
      */
diff --git a/log4j-1.2-api/src/test/java/org/apache/log4j/MDCTestCase.java b/log4j-1.2-api/src/test/java/org/apache/log4j/MDCTestCase.java
index c0e5ba5..97bf1ff 100644
--- a/log4j-1.2-api/src/test/java/org/apache/log4j/MDCTestCase.java
+++ b/log4j-1.2-api/src/test/java/org/apache/log4j/MDCTestCase.java
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/log4j-1.2-api/src/test/java/org/apache/log4j/VelocityTest.java b/log4j-1.2-api/src/test/java/org/apache/log4j/VelocityTest.java
index 99bd5a2..c1165d7 100644
--- a/log4j-1.2-api/src/test/java/org/apache/log4j/VelocityTest.java
+++ b/log4j-1.2-api/src/test/java/org/apache/log4j/VelocityTest.java
@@ -34,7 +34,7 @@ import org.junit.Test;
 public class VelocityTest {
 
 private static LoggerContext context;
-    
+
     @BeforeClass
     public static void setupClass() {
         context = LoggerContext.getContext(false);
@@ -44,8 +44,8 @@ private static LoggerContext context;
     public static void tearDownClass() {
         Configurator.shutdown(context);
         StatusLogger.getLogger().reset();
-    }    
-    
+    }
+
     @Test
     public void testVelocity() {
         Velocity.init();