You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/09/07 14:20:51 UTC
[commons-io] branch master updated: Javadoc nits.
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 5115373 Javadoc nits.
5115373 is described below
commit 5115373b2afe5062afcb1960b9ebf0e35af72d35
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Sep 7 10:20:49 2021 -0400
Javadoc nits.
---
src/main/java/org/apache/commons/io/FileUtils.java | 2 +-
src/main/java/org/apache/commons/io/ThreadMonitor.java | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java
index b9a3ea1..e760bba 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -3162,7 +3162,7 @@ public class FileUtils {
}
/**
- * Waits for NFS to propagate a file creation, imposing a timeout.
+ * Waits for the file system to propagate a file creation, with a timeout.
* <p>
* This method repeatedly tests {@link File#exists()} until it returns
* true up to the maximum time specified in seconds.
diff --git a/src/main/java/org/apache/commons/io/ThreadMonitor.java b/src/main/java/org/apache/commons/io/ThreadMonitor.java
index d82235c..0f0c989 100644
--- a/src/main/java/org/apache/commons/io/ThreadMonitor.java
+++ b/src/main/java/org/apache/commons/io/ThreadMonitor.java
@@ -47,7 +47,7 @@ class ThreadMonitor implements Runnable {
/**
* Start monitoring the current thread.
*
- * @param timeout The timeout amount in milliseconds
+ * @param timeout The timeout amount.
* or no timeout if the value is zero or less
* @return The monitor thread or {@code null}
* if the timeout amount is not greater than zero
@@ -60,7 +60,7 @@ class ThreadMonitor implements Runnable {
* Start monitoring the specified thread.
*
* @param thread The thread The thread to monitor
- * @param timeout The timeout amount in milliseconds
+ * @param timeout The timeout amount.
* or no timeout if the value is zero or less
* @return The monitor thread or {@code null}
* if the timeout amount is not greater than zero
@@ -90,8 +90,8 @@ class ThreadMonitor implements Runnable {
/**
* Constructs a new monitor.
*
- * @param thread The thread to monitor
- * @param timeout The timeout amount in milliseconds
+ * @param thread The thread to monitor.
+ * @param timeout The timeout amount.
*/
private ThreadMonitor(final Thread thread, final Duration timeout) {
this.thread = thread;