This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new aad135f68 Make ignoreTouch field final and add Javadoc
aad135f68 is described below

commit aad135f68b7bcc25068cbd3b06e6fe481d5058a2
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jul 5 08:26:23 2025 -0400

    Make ignoreTouch field final and add Javadoc
---
 src/main/java/org/apache/commons/io/input/Tailer.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/io/input/Tailer.java 
b/src/main/java/org/apache/commons/io/input/Tailer.java
index 52f887427..7060a3b23 100644
--- a/src/main/java/org/apache/commons/io/input/Tailer.java
+++ b/src/main/java/org/apache/commons/io/input/Tailer.java
@@ -714,7 +714,10 @@ public static Tailer create(final File file, final 
TailerListener listener, fina
      */
     private volatile boolean run = true;
 
-    private boolean ignoreTouch = DEFAULT_IGNORE_TOUCH;
+    /**
+     * Whether to ignore a touch on the file, a change in timestamp when the 
contents stay the same.
+     */
+    private final boolean ignoreTouch;
 
     /**
      * Creates a Tailer for the given file, with a specified buffer size.

Reply via email to