Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/.settings/org.eclipse.mylar.tasklist.prefs4
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java3
2 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/.settings/org.eclipse.mylar.tasklist.prefs b/org.eclipse.mylyn.tasks.core/.settings/org.eclipse.mylar.tasklist.prefs
new file mode 100644
index 000000000..a6cf96a98
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.core/.settings/org.eclipse.mylar.tasklist.prefs
@@ -0,0 +1,4 @@
+#Fri Oct 20 16:54:30 PDT 2006
+eclipse.preferences.version=1
+project.repository.kind=bugzilla
+project.repository.url=https\://bugs.eclipse.org/bugs
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 b247357c7..05d9f8fa3 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
@@ -91,7 +91,8 @@ public class WebClientUtil {
proxy = Proxy.NO_PROXY;
}
- URLConnection connection = url.openConnection(proxy);
+ URLConnection connection = url.openConnection(proxy);
+
if (connection == null || !(connection instanceof HttpURLConnection)) {
throw new MalformedURLException();
}

Back to the top