camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/4] git commit: Fixed CS
Date Fri, 11 Oct 2013 08:24:38 GMT
Fixed CS


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

Branch: refs/heads/camel-2.12.x
Commit: ddc6b43c10929fa1d785e53d22f97970a583d50e
Parents: 041c0ef
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Oct 11 10:23:29 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Oct 11 10:23:58 2013 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/processor/ShutdownDeferTest.java     | 6 +++---
 .../java/org/apache/camel/processor/ShutdownNotDeferTest.java  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ddc6b43c/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java b/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java
index 5220ed4..b7cf4f6 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java
@@ -35,7 +35,7 @@ import static org.apache.camel.ShutdownRoute.Defer;
  */
 public class ShutdownDeferTest extends ContextTestSupport {
 
-    private static final AtomicBoolean consumerSuspended = new AtomicBoolean();
+    private static final AtomicBoolean CONSUMER_SUSPENDED = new AtomicBoolean();
 
     @Override
     protected void setUp() throws Exception {
@@ -59,7 +59,7 @@ public class ShutdownDeferTest extends ContextTestSupport {
 
         context.stop();
 
-        assertFalse("Should not have been suspended", consumerSuspended.get());
+        assertFalse("Should not have been suspended", CONSUMER_SUSPENDED.get());
     }
 
     @Override
@@ -98,7 +98,7 @@ public class ShutdownDeferTest extends ContextTestSupport {
             return new FileConsumer(this, processor, operations) {
                 @Override
                 protected void doSuspend() throws Exception {
-                    consumerSuspended.set(true);
+                    CONSUMER_SUSPENDED.set(true);
                     super.doSuspend();
                 }
             };

http://git-wip-us.apache.org/repos/asf/camel/blob/ddc6b43c/camel-core/src/test/java/org/apache/camel/processor/ShutdownNotDeferTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/ShutdownNotDeferTest.java
b/camel-core/src/test/java/org/apache/camel/processor/ShutdownNotDeferTest.java
index 5a8156d..5ce82ff 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/ShutdownNotDeferTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/ShutdownNotDeferTest.java
@@ -35,7 +35,7 @@ import static org.apache.camel.ShutdownRoute.Default;
  */
 public class ShutdownNotDeferTest extends ContextTestSupport {
 
-    private static final AtomicBoolean consumerSuspended = new AtomicBoolean();
+    private static final AtomicBoolean CONSUMER_SUSPENDED = new AtomicBoolean();
 
     @Override
     protected void setUp() throws Exception {
@@ -57,7 +57,7 @@ public class ShutdownNotDeferTest extends ContextTestSupport {
 
         context.stop();
 
-        assertTrue("Should have been suspended", consumerSuspended.get());
+        assertTrue("Should have been suspended", CONSUMER_SUSPENDED.get());
     }
 
     @Override
@@ -92,7 +92,7 @@ public class ShutdownNotDeferTest extends ContextTestSupport {
             return new FileConsumer(this, processor, operations) {
                 @Override
                 protected void doSuspend() throws Exception {
-                    consumerSuspended.set(true);
+                    CONSUMER_SUSPENDED.set(true);
                     super.doSuspend();
                 }
             };


Mime
View raw message