Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2008-05-23 23:07:44 +0000
committerrelves2008-05-23 23:07:44 +0000
commit70c5b1d1651841924b819e603171964b5c5f0726 (patch)
treef729c9defd0624d96c341530eec65373b08146de
parent76534b50105ce13f97e7edc715738711f61f78c6 (diff)
downloadorg.eclipse.mylyn.tasks-70c5b1d1651841924b819e603171964b5c5f0726.tar.gz
org.eclipse.mylyn.tasks-70c5b1d1651841924b819e603171964b5c5f0726.tar.xz
org.eclipse.mylyn.tasks-70c5b1d1651841924b819e603171964b5c5f0726.zip
NEW - bug 165359: fix UI nits
https://bugs.eclipse.org/bugs/show_bug.cgi?id=165359
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
index 699582b8a..8515555bd 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
@@ -855,7 +855,7 @@ public class BugzillaClient {
} catch (IOException e) {
// ignore
}
- parseHtmlError(input);
+ parseHtmlError(in);
}
return result;
@@ -1026,9 +1026,13 @@ public class BugzillaClient {
/**
* Utility method for determining what potential error has occurred from a bugzilla html reponse page
*/
- public void parseHtmlError(InputStream inputStream) throws IOException, CoreException {
+ private void parseHtmlError(InputStream inputStream) throws IOException, CoreException {
BufferedReader in = new BufferedReader(new InputStreamReader(inputStream, characterEncoding));
+ parseHtmlError(in);
+ }
+
+ private void parseHtmlError(BufferedReader in) throws IOException, CoreException {
HtmlStreamTokenizer tokenizer = new HtmlStreamTokenizer(in, null);

Back to the top