This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
import java.beans.PropertyChangeSupport;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
rebuild();
}
});
private final Set<FileObject> jarda = new HashSet<FileObject>();
private void rebuild() {
PropertyChangeEvent event = null;
if (isBaseFolder) {
// Clear the cache
newMimeTypes = new HashMap<String, String>();
jarda.clear();
// Go through mime type types
FileObject [] types = folder.getChildren();
for(int i = 0; i < types.length; i++) {
continue;
jarda.add(types[i]);
// Go through mime type subtypes
FileObject [] subTypes = types[i].getChildren();
for(int j = 0; j < subTypes.length; j++) {