commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1517899 - /commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
Date Tue, 27 Aug 2013 18:03:59 GMT
Author: sebb
Date: Tue Aug 27 18:03:59 2013
New Revision: 1517899

URL: http://svn.apache.org/r1517899
Log:
Simplify

Modified:
    commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java

Modified: commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
URL: http://svn.apache.org/viewvc/commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java?rev=1517899&r1=1517898&r2=1517899&view=diff
==============================================================================
--- commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
(original)
+++ commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
Tue Aug 27 18:03:59 2013
@@ -110,10 +110,7 @@ public final class FilesystemAlterationM
     public void run() {
         log.debug("fam running");
         
-        while (true) {
-            if (!running) {
-                break;
-            }
+        while (running) {
 
             for (FilesystemAlterationObserver observer : observers.values()) {
                 observer.checkAndNotify();



Mime
View raw message