Author: rgoers
Date: Sun May 30 07:56:23 2010
New Revision: 949489

URL: http://svn.apache.org/viewvc?rev=949489&view=rev
Log:
Comment on @doubt entries

Modified:
    
logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java

Modified: 
logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java?rev=949489&r1=949488&r2=949489&view=diff
==============================================================================
--- 
logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java
 (original)
+++ 
logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java
 Sun May 30 07:56:23 2010
@@ -120,6 +120,9 @@ public class Log4jLogEvent implements Lo
     /**
      * @doubt Not quite sure what is going on with the loop, but looks like it 
might
      *     drop only the deepest call from the fully qualified class, not all 
of them.
+     * (RG) The loop finds the FQCN and on the next iteration returns the 
StackTraceElement of
+     * the caller of FQCN. Don't know what you mean by "not all of them" as it 
only returns
+     * a single element.
      */
     public StackTraceElement getSource() {
         if (fqcnOfLogger == null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to