Checkstyle: FileTabCharacter, 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/709faace
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/709faace
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/709faace

Branch: refs/heads/LOG4J2-1136
Commit: 709faace7a6ad1496aa27da8ec41e398a9613e22
Parents: 9ab9d8b
Author: rpopma <[email protected]>
Authored: Thu Sep 24 09:19:40 2015 +0200
Committer: Ralph Goers <[email protected]>
Committed: Sun Sep 27 10:47:28 2015 -0700

----------------------------------------------------------------------
 .../logging/log4j/spi/AbstractLoggerAdapter.java      | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/709faace/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLoggerAdapter.java
----------------------------------------------------------------------
diff --git 
a/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLoggerAdapter.java
 
b/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLoggerAdapter.java
index 8dc44e1..3c6c84f 100644
--- 
a/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLoggerAdapter.java
+++ 
b/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLoggerAdapter.java
@@ -26,6 +26,7 @@ import org.apache.logging.log4j.util.LoaderUtil;
 
 /**
  * Provides an abstract base class to use for implementing LoggerAdapter.
+ * 
  * @param <L> the Logger class to adapt
  * @since 2.1
  */
@@ -34,8 +35,7 @@ public abstract class AbstractLoggerAdapter<L> implements 
LoggerAdapter<L> {
     /**
      * A map to store loggers for their given LoggerContexts.
      */
-    protected final Map<LoggerContext, ConcurrentMap<String, L>> registry =
-        new WeakHashMap<>();
+    protected final Map<LoggerContext, ConcurrentMap<String, L>> registry = 
new WeakHashMap<>();
 
     @Override
     public L getLogger(final String name) {
@@ -43,7 +43,7 @@ public abstract class AbstractLoggerAdapter<L> implements 
LoggerAdapter<L> {
         final ConcurrentMap<String, L> loggers = getLoggersInContext(context);
         final L logger = loggers.get(name);
         if (logger != null) {
-                       return logger;
+            return logger;
         }
         loggers.putIfAbsent(name, newLogger(name, context));
         return loggers.get(name);
@@ -69,16 +69,16 @@ public abstract class AbstractLoggerAdapter<L> implements 
LoggerAdapter<L> {
     /**
      * Creates a new named logger for a given {@link LoggerContext}.
      *
-     * @param name    the name of the logger to create
+     * @param name the name of the logger to create
      * @param context the LoggerContext this logger will be associated with
      * @return the new named logger
      */
     protected abstract L newLogger(final String name, final LoggerContext 
context);
 
     /**
-     * Gets the {@link LoggerContext} that should be used to look up or create 
loggers. This is similar in spirit to
-     * the {@code ContextSelector} class in {@code log4j-core}. However, 
implementations can rely on their own
-     * framework's separation of contexts instead (or simply use a singleton).
+     * Gets the {@link LoggerContext} that should be used to look up or create 
loggers. This is similar in spirit to the
+     * {@code ContextSelector} class in {@code log4j-core}. However, 
implementations can rely on their own framework's
+     * separation of contexts instead (or simply use a singleton).
      *
      * @return the LoggerContext to be used for lookup and creation purposes
      * @see org.apache.logging.log4j.LogManager#getContext(ClassLoader, 
boolean)

Reply via email to