You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/02/01 09:27:42 UTC

svn commit: r1441337 - /camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java

Author: bvahdat
Date: Fri Feb  1 08:27:42 2013
New Revision: 1441337

URL: http://svn.apache.org/viewvc?rev=1441337&view=rev
Log:
Fixed CS.

Modified:
    camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java

Modified: camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java?rev=1441337&r1=1441336&r2=1441337&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java (original)
+++ camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java Fri Feb  1 08:27:42 2013
@@ -29,7 +29,7 @@ import org.apache.camel.processor.aggreg
  */
 public class AggregateTimeoutTest extends ContextTestSupport {
 
-    private final AtomicInteger INVOKED = new AtomicInteger();
+    private final AtomicInteger invoked = new AtomicInteger();
     private volatile Exchange receivedExchange;
     private volatile int receivedIndex;
     private volatile int receivedTotal;
@@ -48,7 +48,7 @@ public class AggregateTimeoutTest extend
         mock.assertIsSatisfied();
 
         // should invoke the timeout method
-        assertEquals(1, INVOKED.get());
+        assertEquals(1, invoked.get());
 
         assertNotNull(receivedExchange);
         assertEquals("AB", receivedExchange.getIn().getBody());
@@ -68,7 +68,7 @@ public class AggregateTimeoutTest extend
         mock.assertIsSatisfied(1500);
 
         // should have not invoked the timeout method anymore
-        assertEquals(1, INVOKED.get());
+        assertEquals(1, invoked.get());
     }
 
     @Override
@@ -90,7 +90,7 @@ public class AggregateTimeoutTest extend
     private class MyAggregationStrategy implements TimeoutAwareAggregationStrategy {
 
         public void timeout(Exchange oldExchange, int index, int total, long timeout) {
-            INVOKED.incrementAndGet();
+            invoked.incrementAndGet();
 
             // we can't assert on the expected values here as the contract of this method doesn't
             // allow to throw any Throwable (including AssertionFailedError) so that we assert