Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/AbstractReportFactory.java3
1 files changed, 2 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 55116c784..e16d8c82c 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
@@ -60,6 +60,7 @@ public class AbstractReportFactory {
final BufferedInputStream is = new BufferedInputStream(inStream, 1024);
InputStream iis = new InputStream() {
+ @Override
public int read() throws IOException {
int c;
while ((c = is.read()) != -1) {
@@ -78,7 +79,7 @@ public class AbstractReportFactory {
in = new InputStreamReader(iis);
}
- if (in != null && clean) {
+ if (clean) {
StringBuffer result = XmlCleaner.clean(in);
StringReader strReader = new StringReader(result.toString());
in = new BufferedReader(strReader);

Back to the top