/** * Removes a root from the cache. * * @param root path to be removed */ static synchronized void removeRoot(String root) { RootCache cache = RootCache.getInstance(); if (cache.isRoot(root)) { cache.removeRoot(root); notifyListeners(FileSystemListener.ROOT_REMOVED, root); } }