Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-11-20 13:39:55 -0500
committerrelves2006-11-20 13:39:55 -0500
commitae6d1d8e8f64e8ff722972ae7d06a9023e6ed588 (patch)
treeebe42300e56c25f7717ba1c79983a8c485ea4bd4 /org.eclipse.mylyn.trac.core/src
parent7f3637acdf8a0e46699c2e3bd7ca16efbda42fb3 (diff)
downloadorg.eclipse.mylyn.tasks-ae6d1d8e8f64e8ff722972ae7d06a9023e6ed588.tar.gz
org.eclipse.mylyn.tasks-ae6d1d8e8f64e8ff722972ae7d06a9023e6ed588.tar.xz
org.eclipse.mylyn.tasks-ae6d1d8e8f64e8ff722972ae7d06a9023e6ed588.zip
NEW - bug 164587: Add proxy configuration as task repository settings option
https://bugs.eclipse.org/bugs/show_bug.cgi?id=164587
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java3
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java5
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java2
3 files changed, 4 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
index 4965ca33e..cfe600c1c 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
@@ -17,7 +17,6 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
-import java.net.Proxy;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
@@ -65,7 +64,7 @@ public class TracAttachmentHandler implements IAttachmentHandler {
}
}
- public void uploadAttachment(TaskRepository repository, AbstractRepositoryTask task, String comment, String description, File file, String contentType, boolean isPatch, Proxy proxySettings) throws CoreException {
+ public void uploadAttachment(TaskRepository repository, AbstractRepositoryTask task, String comment, String description, File file, String contentType, boolean isPatch) throws CoreException {
if (!TracRepositoryConnector.hasAttachmentSupport(repository, task)) {
throw new CoreException(new Status(IStatus.INFO, TracCorePlugin.PLUGIN_ID, IStatus.OK, "Attachments are not supported by this repository access type.", null));
}
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
index 9b2c204df..28de6e2c0 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
@@ -12,7 +12,6 @@
package org.eclipse.mylar.internal.trac.core;
import java.io.UnsupportedEncodingException;
-import java.net.Proxy;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
@@ -58,7 +57,7 @@ public class TracOfflineTaskHandler implements IOfflineTaskHandler {
this.connector = connector;
}
- public RepositoryTaskData downloadTaskData(TaskRepository repository, String taskId, Proxy proxySettings)
+ public RepositoryTaskData downloadTaskData(TaskRepository repository, String taskId)
throws CoreException {
int id = Integer.parseInt(taskId);
return downloadTaskData(repository, id);
@@ -264,7 +263,7 @@ public class TracOfflineTaskHandler implements IOfflineTaskHandler {
}
public Set<AbstractRepositoryTask> getChangedSinceLastSync(TaskRepository repository,
- Set<AbstractRepositoryTask> tasks, Proxy proxySettings) throws CoreException, UnsupportedEncodingException {
+ Set<AbstractRepositoryTask> tasks) throws CoreException, UnsupportedEncodingException {
if (repository.getSyncTimeStamp() == null) {
return tasks;
}
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java
index f613c1a55..12d03e2fb 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java
@@ -122,7 +122,7 @@ public class TracRepositoryConnector extends AbstractRepositoryConnector {
@Override
public IStatus performQuery(AbstractRepositoryQuery query, TaskRepository repository,
- Proxy proxySettings, IProgressMonitor monitor, QueryHitCollector resultCollector) {
+ IProgressMonitor monitor, QueryHitCollector resultCollector) {
final List<TracTicket> tickets = new ArrayList<TracTicket>();

Back to the top