Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2011-09-23 20:38:44 +0000
committerChris Goldthorpe2011-09-23 20:40:23 +0000
commita517f37e9dc29bf07c73cebf16653ea76bd12a99 (patch)
tree5c7889f6d6152b23e8869cc69a804e8a32042d9a /org.eclipse.ui.cheatsheets
parent405ab60e2267e60bd4cbc1b574828874589d8bcf (diff)
downloadeclipse.platform.ua-a517f37e9dc29bf07c73cebf16653ea76bd12a99.tar.gz
eclipse.platform.ua-a517f37e9dc29bf07c73cebf16653ea76bd12a99.tar.xz
eclipse.platform.ua-a517f37e9dc29bf07c73cebf16653ea76bd12a99.zip
Bug 358776 - [Intro][CheatSheets] Fix deprecation warnings in intro
projects
Diffstat (limited to 'org.eclipse.ui.cheatsheets')
-rw-r--r--org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java
index 2e971cd62..17eb3878d 100644
--- a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java
+++ b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2002, 2009 IBM Corporation and others.
+ * Copyright (c) 2002, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -601,7 +601,7 @@ public class CheatSheetCategoryBasedSelectionDialog extends TrayDialog //extends
try {
File contentFile = new File(selectFileCombo.getText());
- url = contentFile.toURL();
+ url = contentFile.toURI().toURL();
new OpenCheatSheetAction(id, id ,url).run();
opened = true;
} catch (MalformedURLException e) {

Back to the top