You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2017/04/21 06:18:52 UTC

[16/19] logging-log4j2 git commit: [LOG4J2-1807] [core] Add and implement LogEvent.toImmutable()

[LOG4J2-1807] [core] Add and implement LogEvent.toImmutable()

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

Branch: refs/heads/java9NoMultiRelease
Commit: bed59292c6df5e7ce41a83c39a94413415a4492c
Parents: 4ca30b5
Author: ggregory <gg...@US-L-GG05.rocketsoftware.com>
Authored: Wed Apr 19 12:11:40 2017 -0700
Committer: ggregory <gg...@US-L-GG05.rocketsoftware.com>
Committed: Wed Apr 19 12:11:40 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java   | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/bed59292/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java
index 3cf7694..ac05b63 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java
@@ -734,10 +734,6 @@ public class Log4jLogEvent implements LogEvent {
         throw new InvalidObjectException("Proxy required");
     }
 
-    public LogEvent createMemento() {
-        return createMemento(this);
-    }
-    
     public static LogEvent createMemento(final LogEvent logEvent) {
         return new Log4jLogEvent.Builder(logEvent).build();
     }