This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 426449c854f File Changed ReadLock Strategy with minAge only looks for lastModified (#10131) 426449c854f is described below commit 426449c854f7aa6776fc416e184a99bd2a2e3123 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon May 22 17:21:37 2023 +0200 File Changed ReadLock Strategy with minAge only looks for lastModified (#10131) --- .../component/file/strategy/FileChangedExclusiveReadLockStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileChangedExclusiveReadLockStrategy.java b/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileChangedExclusiveReadLockStrategy.java index b1e04b4273e..1bf34e8b0c5 100644 --- a/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileChangedExclusiveReadLockStrategy.java +++ b/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileChangedExclusiveReadLockStrategy.java @@ -88,7 +88,7 @@ public class FileChangedExclusiveReadLockStrategy extends MarkerFileExclusiveRea LOG.trace("Min File Trigger Time: {}", minTriggerTime); if (newLength >= minLength && currentTime >= minTriggerTime - && newLastModified == lastModified && newLength == length) { + && newLastModified == lastModified && newLength == length) { LOG.trace("Read lock acquired."); exclusive = true; } else {