camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [09/13] git commit: CAMEL-6694: Fixed CS
Date Fri, 04 Apr 2014 06:36:54 GMT
CAMEL-6694: Fixed CS


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/653f8d6f
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/653f8d6f
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/653f8d6f

Branch: refs/heads/camel-2.13.x
Commit: 653f8d6f27c056631e76d8aa3f40199a522dbb71
Parents: 0f5db8c
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Apr 4 08:38:19 2014 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Apr 4 08:39:19 2014 +0200

----------------------------------------------------------------------
 .../apache/camel/component/log/LogCustomLoggerTest.java  | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/653f8d6f/camel-core/src/test/java/org/apache/camel/component/log/LogCustomLoggerTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/log/LogCustomLoggerTest.java
b/camel-core/src/test/java/org/apache/camel/component/log/LogCustomLoggerTest.java
index 7114f53..908b8c8 100644
--- a/camel-core/src/test/java/org/apache/camel/component/log/LogCustomLoggerTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/log/LogCustomLoggerTest.java
@@ -16,21 +16,22 @@
  */
 package org.apache.camel.component.log;
 
+import java.io.StringWriter;
+
 import org.apache.camel.CamelContext;
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.ResolveEndpointFailedException;
 import org.apache.camel.impl.DefaultCamelContext;
-import org.apache.camel.impl.JndiRegistry;
 import org.apache.camel.impl.PropertyPlaceholderDelegateRegistry;
 import org.apache.camel.impl.SimpleRegistry;
-import org.apache.log4j.*;
+import org.apache.log4j.AppenderSkeleton;
+import org.apache.log4j.Level;
+import org.apache.log4j.Logger;
 import org.apache.log4j.spi.LoggingEvent;
 import org.junit.Before;
 import org.junit.Test;
 import org.slf4j.LoggerFactory;
 
-import java.io.StringWriter;
-
 import static org.hamcrest.CoreMatchers.equalTo;
 import static org.junit.Assert.assertThat;
 
@@ -44,7 +45,7 @@ public class LogCustomLoggerTest extends ContextTestSupport {
     // to capture the warnings from LogComponent
     private static StringWriter sw2;
 
-    private static class CapturingAppender extends AppenderSkeleton {
+    private static final class CapturingAppender extends AppenderSkeleton {
         private StringWriter sw;
 
         private CapturingAppender(StringWriter sw) {


Mime
View raw message