Skip to content

Commit

Permalink
Fix ordering of import and static variable/method
Browse files Browse the repository at this point in the history
  • Loading branch information
Frans Orsel committed Dec 15, 2015
1 parent 7a23ca7 commit dbe2d72
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -28,9 +28,9 @@
import java.util.concurrent.ConcurrentMap;

import org.apache.log4j.LogManager;
import org.slf4j.helpers.Util;
import org.slf4j.ILoggerFactory;
import org.slf4j.Logger;
import org.slf4j.helpers.Util;

/**
* Log4jLoggerFactory is an implementation of {@link ILoggerFactory} returning
Expand All @@ -40,9 +40,6 @@
*/
public class Log4jLoggerFactory implements ILoggerFactory {

// key: name (String), value: a Log4jLoggerAdapter;
ConcurrentMap<String, Logger> loggerMap;

private static final String LOG4J_DELEGATION_LOOP_URL = "http://www.slf4j.org/codes.html#log4jDelegationLoop";

// check for delegation loops
Expand All @@ -60,6 +57,9 @@ public class Log4jLoggerFactory implements ILoggerFactory {
}
}

// key: name (String), value: a Log4jLoggerAdapter;
ConcurrentMap<String, Logger> loggerMap;

public Log4jLoggerFactory() {
loggerMap = new ConcurrentHashMap<String, Logger>();
}
Expand Down

0 comments on commit dbe2d72

Please sign in to comment.