felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1302427 - /felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
Date Mon, 19 Mar 2012 13:34:57 GMT
Author: gnodet
Date: Mon Mar 19 13:34:56 2012
New Revision: 1302427

URL: http://svn.apache.org/viewvc?rev=1302427&view=rev
Log:
[FELIX-2787] Remove unrelated/unused code

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

Modified: felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
URL: http://svn.apache.org/viewvc/felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java?rev=1302427&r1=1302426&r2=1302427&view=diff
==============================================================================
--- felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
(original)
+++ felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
Mon Mar 19 13:34:56 2012
@@ -1355,21 +1355,4 @@ public class DirectoryWatcher extends Th
         return result;
     }
 
-    protected void checkRemovedListener()
-    {
-        List/*<ArtifactListener>*/ listeners = FileInstall.getListeners();
-        for (Iterator it = currentManagedArtifacts.values().iterator(); it.hasNext(); )
-        {
-            Artifact artifact = (Artifact) it.next();
-            File file = artifact.getPath();
-            ArtifactListener listener = findListener(file, listeners);
-            // If no listener can handle this artifact, we need to defer the
-            // processing for this artifact until one is found
-            if (listener == null)
-            {
-                processingFailures.add(file);
-                artifact.setListener(null);
-            }
-        }
-    }
 }



Mime
View raw message