logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396276 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java
Date Tue, 09 Oct 2012 20:07:24 GMT
Author: ggregory
Date: Tue Oct  9 20:07:24 2012
New Revision: 1396276

URL: http://svn.apache.org/viewvc?rev=1396276&view=rev
Log:
Remove some whitespace.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java?rev=1396276&r1=1396275&r2=1396276&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java
Tue Oct  9 20:07:24 2012
@@ -57,13 +57,11 @@ public class ClassLoaderContextSelector 
     private static final ConcurrentMap<String, AtomicReference<WeakReference<LoggerContext>>>
contextMap =
         new ConcurrentHashMap<String, AtomicReference<WeakReference<LoggerContext>>>();
 
-
     static {
         setupCallerCheck();
     }
 
     public LoggerContext getContext(String fqcn, ClassLoader loader, boolean currentContext)
{
-
         if (currentContext) {
             LoggerContext ctx = ContextAnchor.THREAD_CONTEXT.get();
             if (ctx != null) {
@@ -133,7 +131,6 @@ public class ClassLoaderContextSelector 
     }
 
     public void removeContext(LoggerContext context) {
-
         for (Map.Entry<String, AtomicReference<WeakReference<LoggerContext>>>
entry : contextMap.entrySet()) {
             LoggerContext ctx = entry.getValue().get().get();
             if (ctx == context) {



Mime
View raw message