From 304abda2d3f7b582af8b0c29781c5f2b2203f093 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Tue, 9 Nov 2010 17:22:38 -0500 Subject: [PATCH] removing warnings --- .../integration/file/FileReadingMessageSource.java | 3 +-- .../AbstractInboundRemoteFileSystemSychronizer.java | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/spring-integration-file/src/main/java/org/springframework/integration/file/FileReadingMessageSource.java b/spring-integration-file/src/main/java/org/springframework/integration/file/FileReadingMessageSource.java index 6ef2147ea6..8cc28bf22c 100644 --- a/spring-integration-file/src/main/java/org/springframework/integration/file/FileReadingMessageSource.java +++ b/spring-integration-file/src/main/java/org/springframework/integration/file/FileReadingMessageSource.java @@ -45,8 +45,7 @@ import org.springframework.util.Assert; * is used. It ensures files are picked up only once from the directory. *

* A common problem with reading files is that a file may be detected before it - * is ready. The default - * {@link AcceptOnceEntryFileListFilter} + * is ready. The default {@link AcceptOnceFileListFilter} * does not prevent this. In most cases, this can be prevented if the * file-writing process renames each file as soon as it is ready for reading. A * pattern-matching filter that accepts only files that are ready (e.g. based on diff --git a/spring-integration-file/src/main/java/org/springframework/integration/file/synchronization/AbstractInboundRemoteFileSystemSychronizer.java b/spring-integration-file/src/main/java/org/springframework/integration/file/synchronization/AbstractInboundRemoteFileSystemSychronizer.java index 40a761fd42..e8b28e2923 100644 --- a/spring-integration-file/src/main/java/org/springframework/integration/file/synchronization/AbstractInboundRemoteFileSystemSychronizer.java +++ b/spring-integration-file/src/main/java/org/springframework/integration/file/synchronization/AbstractInboundRemoteFileSystemSychronizer.java @@ -55,8 +55,7 @@ public abstract class AbstractInboundRemoteFileSystemSychronizer extends Abst protected volatile FileListFilter filter = new AcceptAllFileListFilter(); /** - * The {@link ScheduledFuture} instance we get when we - * schedule our {@link SynchronizeTask} + * The {@link ScheduledFuture} instance we get when we schedule our SynchronizeTask. */ protected ScheduledFuture scheduledFuture; @@ -88,7 +87,7 @@ public abstract class AbstractInboundRemoteFileSystemSychronizer extends Abst * {@link EntryAcknowledgmentStrategy#acknowledge(Object, Object)} will be called in line with the * {@link org.springframework.integration.core.MessageSource#receive()} call so this could conceivably * be a 'live' stateful client (a connection?) that is inappropriate to cache as it has per-request state. - * @param t + * @param file * leverages strategy implementations to enable different * behavior. It's a hook to the file entry after it's been * successfully downloaded. Conceptually, you might delete the