From 96854d71f617fae9ea0fdb801bdce0f693f39190 Mon Sep 17 00:00:00 2001 From: Dennis Lundberg Date: Wed, 3 May 2006 09:25:54 +0000 Subject: [PATCH] Added some JavaDocs. Removed a copy-pasted comment that didn't belong there. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@399224 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/logging/impl/LogFactoryImpl.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java b/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java index 1bbe7b9..d83acd6 100644 --- a/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java +++ b/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java @@ -118,7 +118,9 @@ public class LogFactoryImpl extends LogFactory { * The name (org.apache.commons.logging.Log.allowFlawedContext) * of the system property which can be set true/false to * determine system behaviour when a bad context-classloader is encountered. - * When set to false + * When set to false, a LogConfigurationException is thrown if + * LogFactoryImpl is loaded via a child classloader of the TCCL (this + * should never happen in sane systems). * * Default behaviour: true (tolerates bad context classloaders) * @@ -1248,8 +1250,7 @@ public class LogFactoryImpl extends LogFactory { current = current.getParent(); } - // scan c2's ancestors to find c1 - // scan c1's ancestors to find c2 + // scan c2's ancestors to find c1 current = c2; while (current != null) { if (current == c1)