[FELIX-2787] Remove unrelated/unused code

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1302427 13f79535-47bb-0310-9956-ffa450edef68
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);
-            }
-        }
-    }
 }