camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/3] camel git commit: fix two typos in comments of GenericFileConsumer and FilerConsumerDoneFileNameTest
Date Tue, 02 Aug 2016 06:11:47 GMT
fix two typos in comments of GenericFileConsumer and FilerConsumerDoneFileNameTest


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

Branch: refs/heads/master
Commit: 0264a03cfcee5ef072820db8f57fdfadda2bd810
Parents: 120728a
Author: Pascal Schumacher <pascalschumacher@gmx.net>
Authored: Mon Aug 1 19:57:09 2016 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Aug 2 08:11:26 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/file/GenericFileConsumer.java  | 2 +-
 .../apache/camel/component/file/FilerConsumerDoneFileNameTest.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0264a03c/camel-core/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java
b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java
index 72d4ed1..82d94f6 100644
--- a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java
+++ b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java
@@ -125,7 +125,7 @@ public abstract class GenericFileConsumer<T> extends ScheduledBatchPollingConsum
         List<GenericFile<T>> files = new ArrayList<GenericFile<T>>();
         String name = endpoint.getConfiguration().getDirectory();
 
-        // time how long time it takes to poll
+        // time how long it takes to poll
         StopWatch stop = new StopWatch();
         boolean limitHit;
         try {

http://git-wip-us.apache.org/repos/asf/camel/blob/0264a03c/camel-core/src/test/java/org/apache/camel/component/file/FilerConsumerDoneFileNameTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/file/FilerConsumerDoneFileNameTest.java
b/camel-core/src/test/java/org/apache/camel/component/file/FilerConsumerDoneFileNameTest.java
index 18ca116..cff4f26 100644
--- a/camel-core/src/test/java/org/apache/camel/component/file/FilerConsumerDoneFileNameTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/file/FilerConsumerDoneFileNameTest.java
@@ -38,7 +38,7 @@ public class FilerConsumerDoneFileNameTest extends ContextTestSupport {
 
         template.sendBodyAndHeader("file:target/done", "Hello World", Exchange.FILE_NAME,
"hello.txt");
 
-        // wait a bit and it should not pickup the written file as there are no done file
+        // wait a bit and it should not pickup the written file as there is no done file
         Thread.sleep(250);
 
         assertMockEndpointsSatisfied();


Mime
View raw message