[slf4j-dev] svn commit: r100 - in slf4j/branches/marker-experiment/src/filtered-java/org/slf4j: . impl

ceki at slf4j.org ceki at slf4j.org
Thu Jun 30 14:12:16 CEST 2005


Author: ceki
Date: Thu Jun 30 14:12:15 2005
New Revision: 100

Removed:
   slf4j/branches/marker-experiment/src/filtered-java/org/slf4j/impl/
Modified:
   slf4j/branches/marker-experiment/src/filtered-java/org/slf4j/LoggerFactory.java
Log:
impl directory moved to src/java/org/slf4j/impl

Modified: slf4j/branches/marker-experiment/src/filtered-java/org/slf4j/LoggerFactory.java
==============================================================================
--- slf4j/branches/marker-experiment/src/filtered-java/org/slf4j/LoggerFactory.java	(original)
+++ slf4j/branches/marker-experiment/src/filtered-java/org/slf4j/LoggerFactory.java	Thu Jun 30 14:12:15 2005
@@ -80,7 +80,7 @@
    * @return The appropriate LoggerFactoryAdapter as directed from the 
    * system properties
    */
-  private static LoggerAdapterFactory getAdapterFactoryFromSystemProperties() {
+  private static LoggerAdapterFactory getFactoryAdapterFromSystemProperties() {
     String faFactoryClassName = null;
 
     try {
@@ -94,9 +94,9 @@
       java.lang.reflect.Method faFactoryMethod =
         faFactoryClass.getDeclaredMethod(
           Constants.FA_FACTORY_METHOD_NAME, EMPTY_CLASS_ARRAY);
-      LoggerFactoryAdapter adapter =
-        (LoggerFactoryAdapter) faFactoryMethod.invoke(null, null);
-      return adapter;
+      LoggerAdapterFactory adapterFactory =
+        (LoggerAdapterFactory) faFactoryMethod.invoke(null, null);
+      return adapterFactory;
     } catch (Throwable t) {
       if (faFactoryClassName == null) {
         reportFailure(
@@ -126,10 +126,10 @@
    * @return logger
    */
   public static Logger getLogger(String name) {
-    return adapter.getLogger(name);
+    return adapterFactory.getLogger(name);
   }
 
   public static Logger getLogger(Class clazz) {
-    return adapter.getLogger(clazz.getName());
+    return adapterFactory.getLogger(clazz.getName());
   }
 }



More information about the slf4j-dev mailing list