felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1812501 - /felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Watcher.java
Date Wed, 18 Oct 2017 12:19:48 GMT
Author: gnodet
Date: Wed Oct 18 12:19:47 2017
New Revision: 1812501

URL: http://svn.apache.org/viewvc?rev=1812501&view=rev
Log:
[FELIX-4906] Changes in symlinked bundles not detected with NIO2 WatcherScanner

Modified:
    felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Watcher.java

Modified: felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Watcher.java
URL: http://svn.apache.org/viewvc/felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Watcher.java?rev=1812501&r1=1812500&r2=1812501&view=diff
==============================================================================
--- felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Watcher.java
(original)
+++ felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Watcher.java
Wed Oct 18 12:19:47 2017
@@ -187,16 +187,16 @@ public abstract class Watcher implements
 
                 try {
                     if (kind == ENTRY_CREATE) {
-                        if (Files.isDirectory(child, NOFOLLOW_LINKS)) {
+                        if (Files.isDirectory(child)) {
 
                             // if directory is created, and watching recursively, then
                             // register it and its sub-directories
                             Files.walkFileTree(child, new FilteringFileVisitor());
-                        } else if (Files.isRegularFile(child, NOFOLLOW_LINKS)) {
+                        } else if (Files.isRegularFile(child)) {
                             scan(child);
                         }
                     } else if (kind == ENTRY_MODIFY) {
-                        if (Files.isRegularFile(child, NOFOLLOW_LINKS)) {
+                        if (Files.isRegularFile(child)) {
                             scan(child);
                         }
                     } else if (kind == ENTRY_DELETE) {



Mime
View raw message