Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java10
2 files changed, 5 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java b/org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java
index eb1480a95..99b007a01 100644
--- a/org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java
+++ b/org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java
@@ -55,7 +55,7 @@ public class OpenSearchResultAction extends Action {
for (Iterator<AbstractTask> it = selection.iterator(); it.hasNext();) {
AbstractTask repositoryHit = it.next();
TasksUiUtil.openTask(repositoryHit.getRepositoryUrl(), repositoryHit.getTaskId(),
- repositoryHit.getUrl(), 0);
+ repositoryHit.getUrl());
}
}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java
index 448176410..908850d6d 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java
@@ -258,11 +258,11 @@ public class TasksUiUtil {
/**
* Either pass in a repository and taskId, or fullUrl, or all of them
*
- * @deprecated Use {@link #openTask(String,String,String,long)} instead
+ * @deprecated Use {@link #openTask(String,String,String)} instead
*/
@Deprecated
public static boolean openRepositoryTask(String repositoryUrl, String taskId, String fullUrl) {
- return openTask(repositoryUrl, taskId, fullUrl, 0);
+ return openTask(repositoryUrl, taskId, fullUrl);
}
/**
@@ -318,16 +318,14 @@ public class TasksUiUtil {
* Either pass in a repository and taskId, or fullUrl, or all of them
*
* @since 3.0
- * @deprecated Use {@link #openTask(String,String,String,long)} instead
*/
- @Deprecated
public static boolean openTask(String repositoryUrl, String taskId, String fullUrl) {
return openTask(repositoryUrl, taskId, fullUrl, 0);
}
/**
- * Either pass in a repository and taskId, or fullUrl, or all of them the timestamp is used for seleting the correct
- * comment
+ * Either pass in a repository and taskId, or fullUrl, or all of them the time stamp is used for selecting the
+ * correct comment
*
* @since 3.4
*/

Back to the top