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/15 03:09:39 UTC

svn commit: r1022803 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java

Author: niallp
Date: Fri Oct 15 01:09:39 2010
New Revision: 1022803

URL: http://svn.apache.org/viewvc?rev=1022803&view=rev
Log:
Remove some accessors

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

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java?rev=1022803&r1=1022802&r2=1022803&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java Fri Oct 15 01:09:39 2010
@@ -215,15 +215,6 @@ public class FileAlterationObserver impl
     }
 
     /**
-     * Return the entry for the root directory.
-     *
-     * @return the entry for the root directory
-     */
-    public FileEntry getRootEntry() {
-        return rootEntry;
-    }
-
-    /**
      * Return the directory being observed.
      *
      * @return the directory being observed
@@ -233,24 +224,6 @@ public class FileAlterationObserver impl
     }
 
     /**
-     * Return the file filter, if any.
-     *
-     * @return the file filteror <code>null</code> if none
-     */
-    public FileFilter getFileFilter() {
-        return fileFilter;
-    }
-
-    /**
-     * Return the comparator.
-     *
-     * @return the comparator
-     */
-    public Comparator<File> getComparator() {
-        return comparator;
-    }
-
-    /**
      * Add a file system listener.
      *
      * @param listener The file system listener
@@ -467,6 +440,7 @@ public class FileAlterationObserver impl
         builder.append(getClass().getSimpleName());
         builder.append("[file='");
         builder.append(getDirectory().getPath());
+        builder.append('\'');
         if (fileFilter != null) {
             builder.append(", ");
             builder.append(fileFilter.toString());