You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2016/03/08 17:03:37 UTC
logging-log4j2 git commit: Use Supplier instead of
MessageSupplier.
Repository: logging-log4j2
Updated Branches:
refs/heads/master 4cc2d12f3 -> 3853df6ca
Use Supplier<Message> instead of MessageSupplier.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/3853df6c
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/3853df6c
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/3853df6c
Branch: refs/heads/master
Commit: 3853df6ca1b4ff66a7759416dc00039ef48fb497
Parents: 4cc2d12
Author: Matt Sicker <bo...@gmail.com>
Authored: Tue Mar 8 10:03:34 2016 -0600
Committer: Matt Sicker <bo...@gmail.com>
Committed: Tue Mar 8 10:03:34 2016 -0600
----------------------------------------------------------------------
.../src/test/java/org/apache/logging/log4j/LambdaLoggerTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/3853df6c/log4j-api/src/test/java/org/apache/logging/log4j/LambdaLoggerTest.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/test/java/org/apache/logging/log4j/LambdaLoggerTest.java b/log4j-api/src/test/java/org/apache/logging/log4j/LambdaLoggerTest.java
index a5d2c8a..9b4fcf1 100644
--- a/log4j-api/src/test/java/org/apache/logging/log4j/LambdaLoggerTest.java
+++ b/log4j-api/src/test/java/org/apache/logging/log4j/LambdaLoggerTest.java
@@ -23,7 +23,6 @@ import java.util.List;
import org.apache.logging.log4j.message.Message;
import org.apache.logging.log4j.message.SimpleMessage;
import org.apache.logging.log4j.spi.AbstractLogger;
-import org.apache.logging.log4j.util.MessageSupplier;
import org.apache.logging.log4j.util.Supplier;
import org.junit.Before;
import org.junit.Test;
@@ -110,7 +109,7 @@ public class LambdaLoggerTest {
final Throwable throwable = new Error("I'm Bad");
final Marker marker = MarkerManager.getMarker("test");
- private class MyMessageSupplier implements MessageSupplier {
+ private class MyMessageSupplier implements Supplier<Message> {
public boolean invoked = false;
@Override