# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: D:\ws\main # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: spring.beans/src/org/netbeans/modules/spring/beans/ui/customizer/SelectConfigFilesPanel.java --- spring.beans/src/org/netbeans/modules/spring/beans/ui/customizer/SelectConfigFilesPanel.java +++ spring.beans/src/org/netbeans/modules/spring/beans/ui/customizer/SelectConfigFilesPanel.java @@ -70,6 +70,7 @@ import org.openide.filesystems.FileObject; import org.openide.filesystems.FileUtil; import org.openide.util.NbBundle; +import org.openide.util.NbCollections; import org.openide.util.RequestProcessor; import org.openide.util.RequestProcessor.Task; @@ -317,7 +318,7 @@ final Set result = new HashSet(); // Search in the source groups of the projects. for (SourceGroup group : ProjectUtils.getSources(project).getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA)) { - for (FileObject fo : group.getRootFolder().getChildren()) { + for (FileObject fo : NbCollections.iterable(group.getRootFolder().getChildren(true))) { if (Thread.currentThread().isInterrupted()) { return; }