Skip to content
Closed

Typos #1096

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected int poll() throws Exception {
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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void testFileConsumeDoneFileIssue() throws Exception {
assertFalse("Done file should be deleted", new File("target/done/foo.done").exists());
}

public void testFileConsumseDynamicDoneFileName() throws Exception {
public void testFileConsumeDynamicDoneFileName() throws Exception {
NotifyBuilder notify = new NotifyBuilder(context).whenDone(3).create();

template.sendBodyAndHeader("file:target/done2", "A", Exchange.FILE_NAME, "a.txt");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void testDoneFile() throws Exception {

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();
Expand Down