summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMykola Nikishov2009-11-26 19:26:37 (EST)
committer Shawn O. Pearce2009-11-30 19:55:57 (EST)
commite601f8c347675f76fcbfbf1591bc52b7c511c2e6 (patch)
tree63948689c38cf676e961e19c7f626df872f7a146
parent75df95f31fe3d67df9bfc82b5c3b6b789a89a205 (diff)
downloadegit-e601f8c347675f76fcbfbf1591bc52b7c511c2e6.zip
egit-e601f8c347675f76fcbfbf1591bc52b7c511c2e6.tar.gz
egit-e601f8c347675f76fcbfbf1591bc52b7c511c2e6.tar.bz2
Access to IDEWorkbenchPlugin is discouraged, use ResourcesPluginrefs/changes/17/117/2
Change-Id: I5018018e97d0c5305e265feb47105fc8c676e391 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/GitProjectsImportPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/GitProjectsImportPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/GitProjectsImportPage.java
index 968cff0..c5592ce 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/GitProjectsImportPage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/GitProjectsImportPage.java
@@ -127,10 +127,10 @@ public class GitProjectsImportPage extends WizardPage {
// name as the project name
if (isDefaultLocation(path)) {
projectName = path.segment(path.segmentCount() - 2);
- description = IDEWorkbenchPlugin.getPluginWorkspace()
+ description = ResourcesPlugin.getWorkspace()
.newProjectDescription(projectName);
} else {
- description = IDEWorkbenchPlugin.getPluginWorkspace()
+ description = ResourcesPlugin.getWorkspace()
.loadProjectDescription(path);
projectName = description.getName();
}