camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] camel git commit: CAMEL-8279: Fixed CS
Date Mon, 26 Jan 2015 13:53:16 GMT
CAMEL-8279: Fixed CS


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

Branch: refs/heads/master
Commit: e369640c5372aa34727f3b044d38d1d277818bc7
Parents: 344e7a5
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Jan 26 14:53:04 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Jan 26 14:53:04 2015 +0100

----------------------------------------------------------------------
 ...AggregationStrategyWithFilenameHeaderTest.java | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e369640c/components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/AggregationStrategyWithFilenameHeaderTest.java
----------------------------------------------------------------------
diff --git a/components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/AggregationStrategyWithFilenameHeaderTest.java
b/components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/AggregationStrategyWithFilenameHeaderTest.java
index 6e1403a..a7b4ba9 100644
--- a/components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/AggregationStrategyWithFilenameHeaderTest.java
+++ b/components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/AggregationStrategyWithFilenameHeaderTest.java
@@ -42,9 +42,9 @@ public class AggregationStrategyWithFilenameHeaderTest extends CamelTestSupport
 
     @Test
     public void testSplitter() throws Exception {
-    	MockEndpoint mock = getMockEndpoint("mock:aggregateToZipEntry");
+        MockEndpoint mock = getMockEndpoint("mock:aggregateToZipEntry");
         mock.expectedMessageCount(1);
-        
+
         template.setDefaultEndpointUri("direct:start");
         template.sendBodyAndHeader("foo", Exchange.FILE_NAME, FILE_NAMES.get(0));
         template.sendBodyAndHeader("bar", Exchange.FILE_NAME, FILE_NAMES.get(1));
@@ -65,7 +65,7 @@ public class AggregationStrategyWithFilenameHeaderTest extends CamelTestSupport
             while (entries.hasMoreElements()) {
                 fileCount++;
                 final ZipEntry entry = entries.nextElement();
-                assertTrue("Zip entry file name should be on of: " + FILE_NAMES, FILE_NAMES.contains(entry.getName()));
               
+                assertTrue("Zip entry file name should be on of: " + FILE_NAMES, FILE_NAMES.contains(entry.getName()));
             }
             assertEquals("Zip file should contain " + FILE_NAMES.size() + " files", FILE_NAMES.size(),
fileCount);
         } finally {
@@ -79,12 +79,12 @@ public class AggregationStrategyWithFilenameHeaderTest extends CamelTestSupport
             @Override
             public void configure() throws Exception {
                 from("direct:start")
-                	.aggregate(new ZipAggregationStrategy(false, true))
-                    	.constant(true)
-                    	.completionTimeout(50)
-                    .to("file:target/out")
-                    .to("mock:aggregateToZipEntry")
-                    .log("Done processing zip file: ${header.CamelFileName}");
+                        .aggregate(new ZipAggregationStrategy(false, true))
+                            .constant(true)
+                            .completionTimeout(50)
+                            .to("file:target/out")
+                            .to("mock:aggregateToZipEntry")
+                            .log("Done processing zip file: ${header.CamelFileName}");
             }
         };
 


Mime
View raw message