Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-11-30 15:02:05 -0500
committerrelves2006-11-30 15:02:05 -0500
commit6b89f75fe80c60f979d5f5b20ead850f605f7729 (patch)
treefc30a0467434ee92080211de041838be68d7bfd9 /org.eclipse.mylyn.tasks.core
parent81b64d9c45af68b8fc521c261505cbb06606d27e (diff)
downloadorg.eclipse.mylyn.tasks-6b89f75fe80c60f979d5f5b20ead850f605f7729.tar.gz
org.eclipse.mylyn.tasks-6b89f75fe80c60f979d5f5b20ead850f605f7729.tar.xz
org.eclipse.mylyn.tasks-6b89f75fe80c60f979d5f5b20ead850f605f7729.zip
NEW - bug 142661: Reduce the dependancy of Bugzilla search on Eclipse
https://bugs.eclipse.org/bugs/show_bug.cgi?id=142661
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java
index f08cfb162..45d91e42a 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java
@@ -148,7 +148,7 @@ public class WebClientUtil {
/** utility method, should use TaskRepository.getProxy() */
public static Proxy getSystemProxy() {
Proxy proxy = Proxy.NO_PROXY;
- if (UpdateCore.getPlugin().getPluginPreferences().getBoolean(UpdateCore.HTTP_PROXY_ENABLE)) {
+ if (UpdateCore.getPlugin() != null && UpdateCore.getPlugin().getPluginPreferences().getBoolean(UpdateCore.HTTP_PROXY_ENABLE)) {
String proxyHost = UpdateCore.getPlugin().getPluginPreferences().getString(UpdateCore.HTTP_PROXY_HOST);
int proxyPort = UpdateCore.getPlugin().getPluginPreferences().getInt(UpdateCore.HTTP_PROXY_PORT);

Back to the top