Skip to content

Commit aad135f

Browse files
committed
Make ignoreTouch field final and add Javadoc
1 parent 42a86bd commit aad135f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/org/apache/commons/io/input/Tailer.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,10 @@ public static Tailer create(final File file, final TailerListener listener, fina
714714
*/
715715
private volatile boolean run = true;
716716

717-
private boolean ignoreTouch = DEFAULT_IGNORE_TOUCH;
717+
/**
718+
* Whether to ignore a touch on the file, a change in timestamp when the contents stay the same.
719+
*/
720+
private final boolean ignoreTouch;
718721

719722
/**
720723
* Creates a Tailer for the given file, with a specified buffer size.

0 commit comments

Comments
 (0)