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/RepositoryQueryResultsFactory.java')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryQueryResultsFactory.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryQueryResultsFactory.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryQueryResultsFactory.java
index b3015a601..4a7f65999 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryQueryResultsFactory.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryQueryResultsFactory.java
@@ -12,8 +12,7 @@
package org.eclipse.mylar.internal.bugzilla.core;
import java.io.IOException;
-import java.net.Proxy;
-import java.net.URL;
+import java.io.InputStream;
import java.security.GeneralSecurityException;
import org.eclipse.mylar.tasks.core.QueryHitCollector;
@@ -25,14 +24,16 @@ import org.eclipse.mylar.tasks.core.TaskList;
*/
public class RepositoryQueryResultsFactory extends AbstractReportFactory {
+ public RepositoryQueryResultsFactory(InputStream inStream, String encoding) {
+ super(inStream, encoding);
+ }
+
/** expects rdf returned from repository (ctype=rdf in url)
* @throws GeneralSecurityException */
- public void performQuery(TaskList taskList, String repositoryUrl, QueryHitCollector collector, String queryUrlString,
- Proxy proxySettings, int maxHits, String characterEncoding) throws IOException, BugzillaException, GeneralSecurityException {
+ public void performQuery(TaskList taskList, String repositoryUrl, QueryHitCollector collector, int maxHits) throws IOException, BugzillaException, GeneralSecurityException {
SaxBugzillaQueryContentHandler contentHandler = new SaxBugzillaQueryContentHandler(taskList, repositoryUrl,
- collector, maxHits);
- URL url = new URL(queryUrlString);
- collectResults(url, proxySettings, characterEncoding, contentHandler, false);
+ collector, maxHits);
+ collectResults(contentHandler, false);
}
}

Back to the top