typo
authorDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Tue, 9 Feb 2010 09:07:15 +0000 (12:07 +0300)
committerDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Tue, 9 Feb 2010 09:07:15 +0000 (12:07 +0300)
java/idea-ui/src/com/intellij/codeInsight/daemon/impl/AddSourcesNotificationProvider.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/LibraryTableEditor.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/SourcesOrderRootTypeUIFactory.java

index 34932068738566d871dcf0bb7ccfa3fa0eaac7fd..36d5674702ed33348d1458c7dcc000d0dc68620e 100644 (file)
@@ -93,7 +93,7 @@ public class AddSourcesNotificationProvider implements EditorNotifications.Provi
         descriptor.setDescription(ProjectBundle.message("library.attach.sources.description"));
         VirtualFile[] roots = library.getFiles(OrderRootType.CLASSES);
         VirtualFile[] candidates = FileChooser.chooseFiles(myProject, descriptor, roots.length == 0 ? null : roots[0]);
-        final VirtualFile[] files = PathUIUtils.scandAndSelectDetectedJavaSourceRoots(myProject, candidates);
+        final VirtualFile[] files = PathUIUtils.scanAndSelectDetectedJavaSourceRoots(myProject, candidates);
         if (files.length == 0) {
           return;
         }
index d3c882d31093468ad69a09ec9e9e4c17d34d08ac..255e8c0388d67f4e2566642e382ecaaa2a907b97 100644 (file)
@@ -658,7 +658,7 @@ public class LibraryTableEditor implements Disposable, LibraryEditorListener {
     }
 
     protected VirtualFile[] scanForActualRoots(final VirtualFile[] rootCandidates) {
-      return PathUIUtils.scandAndSelectDetectedJavaSourceRoots(myPanel, rootCandidates);
+      return PathUIUtils.scanAndSelectDetectedJavaSourceRoots(myPanel, rootCandidates);
     }
   }
 
index 551f60990f11585a665fef2324ff9cfe752b7506..5f157be39eb945922a63a5ef0dd4cbb69a0961c7 100644 (file)
@@ -39,7 +39,7 @@ public class SourcesOrderRootTypeUIFactory implements OrderRootTypeUIFactory {
     return new MyPathsEditor(ProjectBundle.message("sdk.configure.sourcepath.tab"), OrderRootType.SOURCES, new FileChooserDescriptor(true, true, true, false, true, true), false) {
       @Override
       protected VirtualFile[] adjustAddedFileSet(final Component component, final VirtualFile[] files) {
-        return PathUIUtils.scandAndSelectDetectedJavaSourceRoots(component, files);
+        return PathUIUtils.scanAndSelectDetectedJavaSourceRoots(component, files);
       }
     };
   }