You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2010/10/10 16:16:25 UTC

svn commit: r1006296 - in /commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor: FilesystemEntry.java FilesystemObserver.java

Author: niallp
Date: Sun Oct 10 14:16:24 2010
New Revision: 1006296

URL: http://svn.apache.org/viewvc?rev=1006296&view=rev
Log:
JavaDoc corrections

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemEntry.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemObserver.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemEntry.java?rev=1006296&r1=1006295&r2=1006296&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemEntry.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemEntry.java Sun Oct 10 14:16:24 2010
@@ -35,8 +35,7 @@ import java.io.Serializable;
  * If the state of additional {@link File} attributes is required then create a custom
  * {@link FilesystemEntry} with properties for those attributes. Override the
  * {@link #newChildInstance(File)} to return a new instance of the appropriate type.
- * You may also want to override the {@link #refresh()} and/or {@link #hasChanged()}
- * methods.
+ * You may also want to override the {@link #refresh(File)} method.
  * @see FilesystemObserver
  * @since Commons IO 2.0
  */

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemObserver.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemObserver.java?rev=1006296&r1=1006295&r2=1006296&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemObserver.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FilesystemObserver.java Sun Oct 10 14:16:24 2010
@@ -125,10 +125,9 @@ import org.apache.commons.io.comparator.
  * {@link FilesystemEntry} represents the state of a file or directory, capturing
  * {@link File} attributes at a point in time. Custom implementations of
  * {@link FilesystemEntry} can be used to capture additional properties that the
- * basic implementation does not support. The {@link FilesystemEntry#hasChanged()}
+ * basic implementation does not support. The {@link FilesystemEntry#refresh(File)}
  * method is used to determine if a file or directory has changed since the last
- * check. {@link FilesystemEntry#refresh()} stores the current state of the
- * {@link File}'s properties.
+ * check and stores the current state of the {@link File}'s properties.
  *
  * @see FilesystemListener
  * @see FilesystemMonitor