commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r1052102 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
Date Wed, 22 Dec 2010 23:40:58 GMT
Author: niallp
Date: Wed Dec 22 23:40:58 2010
New Revision: 1052102

URL: http://svn.apache.org/viewvc?rev=1052102&view=rev
Log:
Minor code re-organization

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

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java?rev=1052102&r1=1052101&r2=1052102&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
Wed Dec 22 23:40:58 2010
@@ -52,15 +52,6 @@ public final class FileAlterationMonitor
     }
 
     /**
-     * Return the interval.
-     *
-     * @return the interval
-     */
-    public long getInterval() {
-        return interval;
-    }
-
-    /**
      * Construct a monitor with the specified interval and set of observers.
      *
      * @param interval The amount of time in miliseconds to wait between
@@ -77,6 +68,15 @@ public final class FileAlterationMonitor
     }
 
     /**
+     * Return the interval.
+     *
+     * @return the interval
+     */
+    public long getInterval() {
+        return interval;
+    }
+
+    /**
      * Add a file system observer to this monitor.
      *
      * @param observer The file system observer to add



Mime
View raw message