diff options
author | relves | 2006-10-17 23:54:55 +0000 |
---|---|---|
committer | relves | 2006-10-17 23:54:55 +0000 |
commit | 86feeb3272f086f8d18f003cd126e246391507eb (patch) | |
tree | fc1432baf9135794cd13e81790eb162d8358096c /org.eclipse.mylyn.bugzilla.core | |
parent | 37141573c91dfe885bee8c0e89504a6df2c1931b (diff) | |
download | org.eclipse.mylyn.tasks-86feeb3272f086f8d18f003cd126e246391507eb.tar.gz org.eclipse.mylyn.tasks-86feeb3272f086f8d18f003cd126e246391507eb.tar.xz org.eclipse.mylyn.tasks-86feeb3272f086f8d18f003cd126e246391507eb.zip |
NEW - bug 154729: Bugzilla pane is empty when retrieving a task from Bugzilla using SSH/Tunneling
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java index 70ea6a5c8..058f528ca 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java @@ -52,8 +52,10 @@ public class AbstractReportFactory { protected void collectResults(URL url, Proxy proxySettings, String characterEncoding, DefaultHandler contentHandler, boolean clean) throws IOException, BugzillaException, GeneralSecurityException { - HttpURLConnection connection = WebClientUtil.openUrlConnection(url, proxySettings, false); + HttpURLConnection connection = null; try { + connection = WebClientUtil.openUrlConnection(url, proxySettings, false); + int responseCode = connection.getResponseCode(); if (responseCode != HttpURLConnection.HTTP_OK) { String msg; |