You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2015/09/24 10:51:14 UTC

[21/35] logging-log4j2 git commit: Checkstyle: LineLength, trailing space (IDE autoformatted)

Checkstyle: LineLength, trailing space (IDE autoformatted)

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/caa5a6e0
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/caa5a6e0
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/caa5a6e0

Branch: refs/heads/master
Commit: caa5a6e0833494156cd0a678a1f97d9c1dd4710e
Parents: 51efa23
Author: rpopma <rp...@apache.org>
Authored: Thu Sep 24 09:26:13 2015 +0200
Committer: rpopma <rp...@apache.org>
Committed: Thu Sep 24 09:26:13 2015 +0200

----------------------------------------------------------------------
 .../log4j/spi/ExtendedLoggerWrapper.java        | 26 +++++++++++++-------
 1 file changed, 17 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/caa5a6e0/log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedLoggerWrapper.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedLoggerWrapper.java b/log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedLoggerWrapper.java
index cfcea75..b5ef667 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedLoggerWrapper.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedLoggerWrapper.java
@@ -27,7 +27,7 @@ import org.apache.logging.log4j.message.MessageFactory;
 public class ExtendedLoggerWrapper extends AbstractLogger {
 
     private static final long serialVersionUID = 1L;
-    
+
     /**
      * The wrapped Logger.
      */
@@ -35,6 +35,7 @@ public class ExtendedLoggerWrapper extends AbstractLogger {
 
     /**
      * Constructor that wraps and existing Logger.
+     * 
      * @param logger The Logger to wrap.
      * @param name The name of the Logger.
      * @param messageFactory TODO
@@ -51,6 +52,7 @@ public class ExtendedLoggerWrapper extends AbstractLogger {
 
     /**
      * Detect if the event would be logged.
+     * 
      * @param level The logging Level to check.
      * @param marker A Marker or null.
      * @param message The Message.
@@ -64,6 +66,7 @@ public class ExtendedLoggerWrapper extends AbstractLogger {
 
     /**
      * Detect if the event would be logged.
+     * 
      * @param level The logging Level to check.
      * @param marker A Marker or null.
      * @param message The message.
@@ -77,6 +80,7 @@ public class ExtendedLoggerWrapper extends AbstractLogger {
 
     /**
      * Detect if the event would be logged.
+     * 
      * @param level The logging Level to check.
      * @param marker A Marker or null.
      * @param message The message.
@@ -89,6 +93,7 @@ public class ExtendedLoggerWrapper extends AbstractLogger {
 
     /**
      * Detect if the event would be logged.
+     * 
      * @param level The logging Level to check.
      * @param marker A Marker or null.
      * @param message The message.
@@ -99,9 +104,10 @@ public class ExtendedLoggerWrapper extends AbstractLogger {
     public boolean isEnabled(final Level level, final Marker marker, final String message, final Object... params) {
         return logger.isEnabled(level, marker, message, params);
     }
-    
+
     /**
      * Detect if the event would be logged.
+     * 
      * @param level The logging Level to check.
      * @param marker A Marker or null.
      * @param message The message.
@@ -114,16 +120,18 @@ public class ExtendedLoggerWrapper extends AbstractLogger {
     }
 
     /**
-     * Always log an event. This tends to be already guarded by an enabled check, so this method 
-     * should not check for the logger level again
-     * @param fqcn    The fully qualified class name of the <b>caller</b>
-     * @param level   The logging level
-     * @param marker  The Marker
+     * Always log an event. This tends to be already guarded by an enabled check, so this method should not check for
+     * the logger level again
+     * 
+     * @param fqcn The fully qualified class name of the <b>caller</b>
+     * @param level The logging level
+     * @param marker The Marker
      * @param message The Message.
-     * @param t       A Throwable or null.
+     * @param t A Throwable or null.
      */
     @Override
-    public void logMessage(final String fqcn, final Level level, final Marker marker, final Message message, final Throwable t) {
+    public void logMessage(final String fqcn, final Level level, final Marker marker, final Message message,
+            final Throwable t) {
         logger.logMessage(fqcn, level, marker, message, t);
     }
 }