Skip to content

Commit 474b4f9

Browse files
committed
Javadoc
1 parent 114f43e commit 474b4f9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -246,14 +246,13 @@ public Builder setExecutorService(final ExecutorService executorService) {
246246
}
247247

248248
/**
249-
* Sets ignoreTouch behaviour
250-
*
251-
* @param ignoreTouch This can be useful when your watched file gets touched (meaning it gets more recent timestamps
252-
* without changing the file) for some reason or when you are working on file systems where timestamp
253-
* is updated before content.
254-
* The default behaviour (ignoreTouch=false) would then reissue the whole current file, while
255-
* ignoreTouch=true does nothing in that case.
249+
* Sets whether a change in timestamp causes the file to be re-read.
250+
* <p>
251+
* Useful when your watched file gets touched (the timestamps is more recent without changing the file) or when a file system updates a timestamp before
252+
* a file's content. The default (false) re-reads the current file, while true does nothing.
253+
* </p>
256254
*
255+
* @param ignoreTouch Whether a change in timestamp causes the file to be re-read.
257256
* @return {@code this} instance.
258257
* @since 2.20.0
259258
*/

0 commit comments

Comments
 (0)