Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Non-sprint task - P1 fix for issue http://bugzilla.bredex.de/345

  • Loading branch information...
commit 8876c81e9dd55a5888128d66876867c52a8374e0 1 parent 06efdd1
Markus Tiede MarkusTiede authored
17 org.eclipse.jubula.toolkit.common/src/org/eclipse/jubula/toolkit/common/utils/ToolkitUtils.java
View
@@ -57,19 +57,22 @@ private ToolkitUtils() {
}
/**
- * Returns an absolute (resolved) path of the given Plugin and the
- * given Plugin-relative path.
- * @param plugin the Plugin
- * @param pluginRelPath the relative path
- * @return an absolute (resolved) path or null if the path could
- * not be resolved.
+ * Returns a (resolved) URL of the given Plugin and the given
+ * Plugin-relative path.
+ *
+ * @param plugin
+ * the Plugin
+ * @param pluginRelPath
+ * the relative path
+ * @return a (resolved) URL or null if the path could not be
+ * resolved.
*/
public static URL getURL(Plugin plugin, String pluginRelPath) {
URL unresolvedUrl = plugin.getBundle().getEntry(pluginRelPath);
URL fileURL = null;
try {
- fileURL = FileLocator.toFileURL(unresolvedUrl);
+ fileURL = FileLocator.resolve(unresolvedUrl);
} catch (IOException e) {
StringBuilder logMsg = new StringBuilder();
logMsg.append(Messages.CouldNotResolvePath);
2  org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/i18n/CompSystemI18n.java
View
@@ -50,7 +50,7 @@
* Constructor
*/
private CompSystemI18n() {
- // private constructor to prevent instantiation of class utitlity
+ // private constructor to prevent instantiation of class utility
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.