diff options
author | cbrealey | 2005-06-17 19:51:56 +0000 |
---|---|---|
committer | cbrealey | 2005-06-17 19:51:56 +0000 |
commit | 5fbfec1ab7b9cf4e4cd348af59e7262b0fabd9df (patch) | |
tree | a43da69fa4164c29e8bac2109fac018835302815 /bundles/org.eclipse.jst.ws.consumption.ui | |
parent | fec07c871767b075281babebc0f13dd89b30d14f (diff) | |
download | webtools.webservices-5fbfec1ab7b9cf4e4cd348af59e7262b0fabd9df.tar.gz webtools.webservices-5fbfec1ab7b9cf4e4cd348af59e7262b0fabd9df.tar.xz webtools.webservices-5fbfec1ab7b9cf4e4cd348af59e7262b0fabd9df.zip |
[100514] dangerous code in plugin getPluginInstallLocation
Diffstat (limited to 'bundles/org.eclipse.jst.ws.consumption.ui')
-rw-r--r-- | bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java index 6e38456db..092411ee4 100644 --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java +++ b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java @@ -15,11 +15,9 @@ import java.net.MalformedURLException; import java.net.URL; import java.text.MessageFormat; -import org.eclipse.core.runtime.Platform; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentServerRuntimeContext; import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.wst.command.internal.provisional.env.core.common.Log; import org.eclipse.wst.command.internal.provisional.env.core.common.MessageUtils; @@ -45,7 +43,6 @@ public class WebServiceConsumptionUIPlugin extends AbstractUIPlugin private static WebServiceConsumptionUIPlugin instance_; private PersistentServerRuntimeContext serverRuntimeContext_; - private Log log_; /** * Constructs a runtime plugin object for this plugin. @@ -127,20 +124,6 @@ public class WebServiceConsumptionUIPlugin extends AbstractUIPlugin } } - public String getPluginStateLocation() { - return Platform.getPluginStateLocation(this).toOSString(); - } - - public String getPluginInstallLocation() { - try { - return Platform.resolve(getBundle().getEntry("/")).getFile(); - } - catch (Exception e) { - return null; - } - } - - public PersistentServerRuntimeContext getServerRuntimeContext() { if (serverRuntimeContext_ == null) |