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.
// We assume that the Project should not be ignored.
if(file.isDirectory()){
ProjectManager projectManager = ProjectManager.getDefault();
if (projectManager.isProject(FileUtil.toFileObject(file))) {
FileObject fileObj = FileUtil.toFileObject(file);
if (fileObj != null && projectManager.isProject(fileObj)) {
return false;
}