Repository: logging-log4j2
Updated Branches:
  refs/heads/LOG4J2-1442 93ac8ab82 -> 8c10f7818


Fix formatting


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

Branch: refs/heads/LOG4J2-1442
Commit: b12c25c5e13dc1cbb4e8087b855b509616a7e6f7
Parents: 93ac8ab
Author: Mikael StÃ¥ldal <[email protected]>
Authored: Mon May 22 20:55:25 2017 +0200
Committer: Mikael StÃ¥ldal <[email protected]>
Committed: Mon May 22 20:55:25 2017 +0200

----------------------------------------------------------------------
 .../logging/log4j/core/appender/HttpAppenderTest.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/b12c25c5/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/HttpAppenderTest.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/HttpAppenderTest.java
 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/HttpAppenderTest.java
index 9ce31e0..3f55adc 100644
--- 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/HttpAppenderTest.java
+++ 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/HttpAppenderTest.java
@@ -66,7 +66,7 @@ public class HttpAppenderTest {
             .withName("Http")
             .withLayout(JsonLayout.createDefaultLayout())
             .setConfiguration(ctx.getConfiguration())
-            .setUrl("http://localhost:"+wireMockRule.port()+"/test/log4j/")
+            .setUrl("http://localhost:"; + wireMockRule.port() + "/test/log4j/")
             .build();
         appender.append(createLogEvent());
 
@@ -85,7 +85,7 @@ public class HttpAppenderTest {
             .withName("Http")
             .withLayout(JsonLayout.createDefaultLayout())
             .setConfiguration(ctx.getConfiguration())
-            
.setUrl("https://localhost:"+wireMockRule.httpsPort()+"/test/log4j/")
+            .setUrl("https://localhost:"; + wireMockRule.httpsPort() + 
"/test/log4j/")
             .setSslConfiguration(SslConfiguration.createSSLConfiguration("TLS",
                 
KeyStoreConfiguration.createKeyStoreConfiguration(TestConstants.KEYSTORE_FILE, 
TestConstants.KEYSTORE_PWD, TestConstants.KEYSTORE_TYPE, null),
                 null))
@@ -108,7 +108,7 @@ public class HttpAppenderTest {
             .withLayout(JsonLayout.createDefaultLayout())
             .setConfiguration(ctx.getConfiguration())
             .setMethod("PUT")
-            .setUrl("http://localhost:"+wireMockRule.port()+"/test/log4j/1234")
+            .setUrl("http://localhost:"; + wireMockRule.port() + 
"/test/log4j/1234")
             .build();
         appender.append(createLogEvent());
 
@@ -127,7 +127,7 @@ public class HttpAppenderTest {
             .withName("Http")
             .withLayout(JsonLayout.createDefaultLayout())
             .setConfiguration(ctx.getConfiguration())
-            .setUrl("http://localhost:"+wireMockRule.port()+"/test/log4j/")
+            .setUrl("http://localhost:"; + wireMockRule.port() + "/test/log4j/")
             .setHeaders(new Property[] {
                 Property.createProperty("X-Test", "header value"),
                 Property.createProperty("X-Runtime", "${java:runtime}")
@@ -171,7 +171,7 @@ public class HttpAppenderTest {
             .withName("Http")
             .withLayout(JsonLayout.createDefaultLayout())
             .setConfiguration(ctx.getConfiguration())
-            .setUrl("http://localhost:"+wireMockRule.port()+"/test/log4j/")
+            .setUrl("http://localhost:"; + wireMockRule.port() + "/test/log4j/")
             .build();
         appender.append(createLogEvent());
 
@@ -195,7 +195,7 @@ public class HttpAppenderTest {
             .withLayout(JsonLayout.createDefaultLayout())
             .setConfiguration(ctx.getConfiguration())
             .withIgnoreExceptions(false)
-            .setUrl("http://localhost:"+wireMockRule.port()+"/test/log4j/")
+            .setUrl("http://localhost:"; + wireMockRule.port() + "/test/log4j/")
             .build();
         appender.append(createLogEvent());
     }

Reply via email to