Repository: logging-log4j2 Updated Branches: refs/heads/master 5a14032f2 -> fe4ace50c
Replace String protocol method with type-safe enum Protocol. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/9ef298b5 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/9ef298b5 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/9ef298b5 Branch: refs/heads/master Commit: 9ef298b5c82471944ab3c5508578c5752e0e7f60 Parents: 1c786f6 Author: ggregory <ggreg...@apache.org> Authored: Wed Dec 2 07:52:39 2015 -0800 Committer: ggregory <ggreg...@apache.org> Committed: Wed Dec 2 07:52:39 2015 -0800 ---------------------------------------------------------------------- .../org/apache/logging/log4j/core/appender/SocketAppenderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/9ef298b5/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java index 150ae70..9a7f9d5 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java @@ -144,7 +144,7 @@ public class SocketAppenderTest { @Test public void testDefaultProtocol() throws Exception { - final SocketAppender appender = SocketAppender.createAppender("localhost", PORT, null, null, 0, "-1", + final SocketAppender appender = SocketAppender.createAppender("localhost", PORT, (Protocol) null, null, 0, "-1", "false", "Test", null, null, null, null, null, null); assertNotNull(appender); }