APISonar


org.netbeans.modules.parsing.impl.indexing.RepositoryUpdaterTest.TIME

> org > netbeans > modules > parsing > impl > indexing > RepositoryUpdaterTest > TIME
org APIs netbeans APIs modules APIs parsing APIs impl APIs indexing APIs RepositoryUpdaterTest APIs TIME APIs

Example 1
protected void tearDown() throws Exception {        
        for(String id : registeredClasspaths.keySet()) {
            final Set<ClassPath> classpaths = registeredClasspaths.get(id);
            GlobalPathRegistry.getDefault().unregister(id, classpaths.toArray(new ClassPath[classpaths.size()]));
        }
        registeredClasspaths.clear();
        ClassPathProviderImpl.register(Collections.<FileObject,Map<String,ClassPath>>emptyMap());
        SourceForBinaryQueryImpl.register(Collections.<URL,Pair<Boolean,List<FileObject>>>emptyMap());
        LowMemoryWatcher.getInstance().free();
        RepositoryUpdater.getDefault().waitUntilFinished(RepositoryUpdaterTest.TIME);
        super.tearDown();
    }