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/5f17c37a Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5f17c37a Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5f17c37a Branch: refs/heads/camel-2.14.x Commit: 5f17c37ac9d24fc6f649591752cb3826d6a2f176 Parents: 15683fe Author: Claus Ibsen <[email protected]> Authored: Mon Jan 26 14:53:04 2015 +0100 Committer: Claus Ibsen <[email protected]> Committed: Mon Jan 26 14:54:39 2015 +0100 ---------------------------------------------------------------------- ...AggregationStrategyWithFilenameHeaderTest.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/5f17c37a/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}"); } };
