diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
index b132ca8..e1759c1 100644
--- a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
+++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
@@ -1355,21 +1355,4 @@
         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);
-            }
-        }
-    }
 }
