Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Brandys2009-02-20 11:13:44 +0000
committerSzymon Brandys2009-02-20 11:13:44 +0000
commitb9e045de2296101ecb70e786324e4cab5ac5a4c4 (patch)
tree9f40e9223183922eccebe4ddb2820704185dcb02 /bundles/org.eclipse.core.net/src
parent6166bdaa2cc7b19aadc8590f5597447b6c09d600 (diff)
downloadeclipse.platform.team-b9e045de2296101ecb70e786324e4cab5ac5a4c4.tar.gz
eclipse.platform.team-b9e045de2296101ecb70e786324e4cab5ac5a4c4.tar.xz
eclipse.platform.team-b9e045de2296101ecb70e786324e4cab5ac5a4c4.zip
Bug 265491 - [net] Redundant setProxiesEnabled() or bug
Diffstat (limited to 'bundles/org.eclipse.core.net/src')
-rw-r--r--bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/ProxySelector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/ProxySelector.java b/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/ProxySelector.java
index f3f34e7de..99980bb75 100644
--- a/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/ProxySelector.java
+++ b/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/ProxySelector.java
@@ -40,11 +40,11 @@ public class ProxySelector {
return NATIVE_PROVIDER;
}
- public static void setDefaultProvider(String provider) {
+ public static void setActiveProvider(String provider) {
IProxyService service = ProxyManager.getProxyManager();
if (provider.equals(DIRECT_PROVIDER)) {
service.setProxiesEnabled(false);
- service.setProxiesEnabled(false);
+ service.setSystemProxiesEnabled(false);
} else if (provider.equals(ECLIPSE_PROVIDER)) {
service.setProxiesEnabled(true);
service.setSystemProxiesEnabled(false);

Back to the top