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.

View | Details | Raw Unified | Return to bug 233310
Collapse All | Expand All

(-)spring.beans/src/org/netbeans/modules/spring/beans/ui/customizer/SelectConfigFilesPanel.java (-1 / +2 lines)
Lines 70-75 Link Here
70
import org.openide.filesystems.FileObject;
70
import org.openide.filesystems.FileObject;
71
import org.openide.filesystems.FileUtil;
71
import org.openide.filesystems.FileUtil;
72
import org.openide.util.NbBundle;
72
import org.openide.util.NbBundle;
73
import org.openide.util.NbCollections;
73
import org.openide.util.RequestProcessor;
74
import org.openide.util.RequestProcessor;
74
import org.openide.util.RequestProcessor.Task;
75
import org.openide.util.RequestProcessor.Task;
75
76
Lines 317-323 Link Here
317
            final Set<File> result = new HashSet<File>();
318
            final Set<File> result = new HashSet<File>();
318
            // Search in the source groups of the projects.
319
            // Search in the source groups of the projects.
319
            for (SourceGroup group : ProjectUtils.getSources(project).getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA)) {
320
            for (SourceGroup group : ProjectUtils.getSources(project).getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA)) {
320
                for (FileObject fo : group.getRootFolder().getChildren()) {
321
                for (FileObject fo : NbCollections.iterable(group.getRootFolder().getChildren(true))) {
321
                    if (Thread.currentThread().isInterrupted()) {
322
                    if (Thread.currentThread().isInterrupted()) {
322
                        return;
323
                        return;
323
                    }
324
                    }

Return to bug 233310