Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2009-11-27 00:26:37 +0000
committerShawn O. Pearce2009-12-01 00:55:57 +0000
commite601f8c347675f76fcbfbf1591bc52b7c511c2e6 (patch)
tree63948689c38cf676e961e19c7f626df872f7a146
parent75df95f31fe3d67df9bfc82b5c3b6b789a89a205 (diff)
downloadegit-e601f8c347675f76fcbfbf1591bc52b7c511c2e6.tar.gz
egit-e601f8c347675f76fcbfbf1591bc52b7c511c2e6.tar.xz
egit-e601f8c347675f76fcbfbf1591bc52b7c511c2e6.zip
Access to IDEWorkbenchPlugin is discouraged, use ResourcesPlugin
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 968cff05b3..c5592ce277 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();
}

Back to the top