camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1086529 - in /camel/trunk/camel-core/src/test/java/org/apache/camel: component/file/strategy/MarkerFileExclusiveReadLockStrategyTest.java model/StartingRoutesErrorReportedTest.java
Date Tue, 29 Mar 2011 09:31:20 GMT
Author: davsclaus
Date: Tue Mar 29 09:31:20 2011
New Revision: 1086529

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

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/strategy/MarkerFileExclusiveReadLockStrategyTest.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/model/StartingRoutesErrorReportedTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/strategy/MarkerFileExclusiveReadLockStrategyTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/strategy/MarkerFileExclusiveReadLockStrategyTest.java?rev=1086529&r1=1086528&r2=1086529&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/strategy/MarkerFileExclusiveReadLockStrategyTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/strategy/MarkerFileExclusiveReadLockStrategyTest.java
Tue Mar 29 09:31:20 2011
@@ -34,7 +34,7 @@ import org.apache.commons.logging.LogFac
 public class MarkerFileExclusiveReadLockStrategyTest extends ContextTestSupport {
 
     private static final transient Log LOG = LogFactory.getLog(MarkerFileExclusiveReadLockStrategyTest.class);
-    private static int NUMBER_OF_THREADS = 5;
+    private static final int NUMBER_OF_THREADS = 5;
     private AtomicInteger numberOfFilesProcessed = new AtomicInteger(0);
 
     public void testMultithreadedLocking() throws Exception {

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/model/StartingRoutesErrorReportedTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/model/StartingRoutesErrorReportedTest.java?rev=1086529&r1=1086528&r2=1086529&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/model/StartingRoutesErrorReportedTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/model/StartingRoutesErrorReportedTest.java
Tue Mar 29 09:31:20 2011
@@ -53,7 +53,8 @@ public class StartingRoutesErrorReported
             context.start();
             fail();
         } catch (FailedToCreateRouteException e) {
-            assertTrue(e.getMessage().startsWith("Failed to create route route2 at: >>>
To[direct:result?foo=bar] <<< in route: Route[[From[direct:start]] -> [To[direct:result?foo=bar]]]
because of"));
+            assertTrue(e.getMessage().startsWith("Failed to create route route2 at: >>>
To[direct:result?foo=bar] <<< in route:"
+                    + " Route[[From[direct:start]] -> [To[direct:result?foo=bar]]] because
of"));
         }
     }
 
@@ -69,7 +70,8 @@ public class StartingRoutesErrorReported
             });
             context.start();
         } catch (FailedToCreateRouteException e) {
-            assertTrue(e.getMessage().startsWith("Failed to create route route3 at: >>>
Bean[ref:] <<< in route: Route[[From[direct:start]] -> [To[mock:foo], Bean[ref:]]]
because of"));
+            assertTrue(e.getMessage().startsWith("Failed to create route route3 at: >>>
Bean[ref:] <<< in route:"
+                    + " Route[[From[direct:start]] -> [To[mock:foo], Bean[ref:]]] because
of"));
         }
     }
 



Mime
View raw message