Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbrealey2005-06-17 19:51:56 +0000
committercbrealey2005-06-17 19:51:56 +0000
commit5fbfec1ab7b9cf4e4cd348af59e7262b0fabd9df (patch)
treea43da69fa4164c29e8bac2109fac018835302815 /bundles/org.eclipse.jst.ws.consumption.ui
parentfec07c871767b075281babebc0f13dd89b30d14f (diff)
downloadwebtools.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.java17
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)

Back to the top