You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by mi...@apache.org on 2016/04/18 13:38:04 UTC

[18/50] logging-log4j2 git commit: LOG4J2-1334 javadoc

LOG4J2-1334 javadoc


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/aa4ce1ef
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/aa4ce1ef
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/aa4ce1ef

Branch: refs/heads/LOG4J2-1365
Commit: aa4ce1ef171b733f6866ebffa7782eadbe16a370
Parents: 5540868
Author: rpopma <rp...@apache.org>
Authored: Sun Apr 17 15:49:51 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Sun Apr 17 15:49:51 2016 +0900

----------------------------------------------------------------------
 .../java/org/apache/logging/log4j/core/impl/MutableLogEvent.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/aa4ce1ef/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
index e86c553..9ca179b 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
@@ -70,6 +70,9 @@ public class MutableLogEvent implements LogEvent, ReusableMessage {
         setMessage(event.getMessage());
     }
 
+    /**
+     * Clears all references this event has to other objects.
+     */
     public void clear() {
         loggerFqcn = null;
         marker = null;