You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2018/10/30 16:01:09 UTC

logging-log4j2 git commit: [LOG4J2-2493] Remove deprecated code.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 8e34a606d -> ba71d5f97


[LOG4J2-2493] Remove deprecated code.

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

Branch: refs/heads/master
Commit: ba71d5f97fd5917f716a9094a5c5b0c19a82bf48
Parents: 8e34a60
Author: Gary Gregory <ga...@gmail.com>
Authored: Tue Oct 30 09:59:29 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Tue Oct 30 09:59:29 2018 -0600

----------------------------------------------------------------------
 .../org/apache/logging/log4j/core/layout/PatternSelectorTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ba71d5f9/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternSelectorTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternSelectorTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternSelectorTest.java
index 2455ac8..45b33b7 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternSelectorTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternSelectorTest.java
@@ -59,7 +59,7 @@ public class PatternSelectorTest {
                 .setIncludeLocation(true)
                 .setMessage(new SimpleMessage("entry")).build();
         final String result1 = new FauxLogger().formatEvent(event1, layout);
-        final String expectSuffix1 = String.format("====== PatternSelectorTest.testPatternSelector:53 entry ======%n");
+        final String expectSuffix1 = String.format("====== PatternSelectorTest.testPatternSelector:61 entry ======%n");
         assertTrue("Unexpected result: " + result1, result1.endsWith(expectSuffix1));
         final LogEvent event2 = Log4jLogEvent.newBuilder() //
                 .setLoggerName(this.getClass().getName()).setLoggerFqcn("org.apache.logging.log4j.core.Logger") //