commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r377200 - /jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Date Sun, 12 Feb 2006 16:31:22 GMT
Author: rdonkin
Date: Sun Feb 12 08:31:21 2006
New Revision: 377200

URL: http://svn.apache.org/viewcvs?rev=377200&view=rev
Log:
Fix typo, changed some colons to dashes (colons overused) and added some quotes.

Modified:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java

Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java?rev=377200&r1=377199&r2=377200&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Sun Feb 12 08:31:21 2006
@@ -1022,8 +1022,8 @@
                     if (classLoader == thisClassLoader) {
                         // Nothing more to try, onwards.
                         logDiagnostic(
-                            "Unable to locate any class called " + factoryClass
-                            + " via classloader " + objectId(classLoader));
+                            "Unable to locate any class called '" + factoryClass
+                            + "' via classloader " + objectId(classLoader));
                         throw ex;
                     }
                     // ignore exception, continue
@@ -1031,9 +1031,9 @@
                     if (classLoader == thisClassLoader) {
                         // Nothing more to try, onwards.
                         logDiagnostic(
-                            "Class " + factoryClass + " cannot be loaded"
+                            "Class '" + factoryClass + "' cannot be loaded"
                             + " via classloader " + objectId(classLoader)
-                            + ": it depends on some other class that cannot"
+                            + " - it depends on some other class that cannot"
                             + " be found.");
                         throw e;
                     }
@@ -1044,8 +1044,8 @@
                         // the specified class *really* doesn't extend the 
                         // required LogFactory base class.
                         logDiagnostic(
-                            "Class " + factoryClass + " really does not extend "
-                            + LogFactory.class.getName());
+                            "Class '" + factoryClass + "' really does not extend '"
+                            + LogFactory.class.getName() + "'");
                         throw e;
                     }
                     // Ignore exception, continue
@@ -1072,12 +1072,12 @@
             logDiagnostic(
                 "Unable to load factory class via classloader " 
                 + objectId(classLoader)
-                + ": trying the classloader associated with this LogFactory.");
+                + " - trying the classloader associated with this LogFactory.");
             logFactoryClass = Class.forName(factoryClass);
             return (LogFactory) logFactoryClass.newInstance();
         } catch (Exception e) {
             // Check to see if we've got a bad configuration
-            logDiagnostic("Unable to create logfactory instance.");
+            logDiagnostic("Unable to create LogFactory instance.");
             if (logFactoryClass != null
                 && !LogFactory.class.isAssignableFrom(logFactoryClass)) {
                 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message