Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2012-07-17 08:36:45 -0400
committerBenjamin Muskalla2012-07-17 08:36:45 -0400
commit6586fcf0bbd341af3cf5d34b4b3a2f44272456e4 (patch)
treec06d97956e578b7dd2ca46414d8079d0c9d4a940 /org.eclipse.mylyn.bugzilla.ui
parent38d3983fa7a1e5819bcc3419d4ac30db93d8c407 (diff)
downloadorg.eclipse.mylyn.tasks-6586fcf0bbd341af3cf5d34b4b3a2f44272456e4.tar.gz
org.eclipse.mylyn.tasks-6586fcf0bbd341af3cf5d34b4b3a2f44272456e4.tar.xz
org.eclipse.mylyn.tasks-6586fcf0bbd341af3cf5d34b4b3a2f44272456e4.zip
NEW - bug 380876: pull up default implementation for getReplyText
https://bugs.eclipse.org/bugs/show_bug.cgi?id=380876 Change-Id: I188ef19ce831af8b98f63c16ff6afcc285ae036c
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java14
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/Messages.java6
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/messages.properties3
3 files changed, 0 insertions, 23 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java
index cb9861988..2cc13e6c5 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java
@@ -13,7 +13,6 @@
package org.eclipse.mylyn.internal.bugzilla.ui.tasklist;
-import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
@@ -36,7 +35,6 @@ import org.eclipse.mylyn.internal.bugzilla.ui.search.BugzillaSearchPage;
import org.eclipse.mylyn.internal.bugzilla.ui.wizard.NewBugzillaTaskWizard;
import org.eclipse.mylyn.tasks.core.IRepositoryQuery;
import org.eclipse.mylyn.tasks.core.ITask;
-import org.eclipse.mylyn.tasks.core.ITaskComment;
import org.eclipse.mylyn.tasks.core.ITaskMapping;
import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.core.data.TaskAttachmentModel;
@@ -89,18 +87,6 @@ public class BugzillaConnectorUi extends AbstractRepositoryConnectorUi {
}
@Override
- public String getReplyText(TaskRepository taskRepository, ITask task, ITaskComment taskComment, boolean includeTask) {
- if (taskComment == null) {
- return Messages.BugzillaConnectorUi__In_reply_to_comment_0_;
- } else if (includeTask) {
- return MessageFormat.format(Messages.BugzillaConnectorUi__In_reply_to_X_comment_X_, task.getTaskKey(),
- taskComment.getNumber());
- } else {
- return MessageFormat.format(Messages.BugzillaConnectorUi__In_reply_to_comment_X_, taskComment.getNumber());
- }
- }
-
- @Override
public List<LegendElement> getLegendElements() {
List<LegendElement> legendItems = new ArrayList<LegendElement>();
legendItems.add(LegendElement.createTask("blocker", BugzillaImages.OVERLAY_CRITICAL)); //$NON-NLS-1$
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/Messages.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/Messages.java
index 2f5936352..f30aa009e 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/Messages.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/Messages.java
@@ -25,12 +25,6 @@ public class Messages extends NLS {
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
}
- public static String BugzillaConnectorUi__In_reply_to_comment_X_;
-
- public static String BugzillaConnectorUi__In_reply_to_X_comment_X_;
-
- public static String BugzillaConnectorUi__In_reply_to_comment_0_;
-
public static String BugzillaCustomQueryDialog_Bugzilla_Query_Category_Name;
public static String BugzillaCustomQueryDialog_Max_Hits_Returned__1_means_all_;
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/messages.properties b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/messages.properties
index 01c723929..c547c8413 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/messages.properties
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/messages.properties
@@ -8,9 +8,6 @@
# Contributors:
# Tasktop Technologies - initial API and implementation
###############################################################################
-BugzillaConnectorUi__In_reply_to_comment_X_=(In reply to comment \#{0})
-BugzillaConnectorUi__In_reply_to_X_comment_X_=(In reply to {0} comment \#{1})
-BugzillaConnectorUi__In_reply_to_comment_0_=(In reply to comment \#0)
BugzillaCustomQueryDialog_Bugzilla_Query_Category_Name=Bugzilla Query Category Name
BugzillaCustomQueryDialog_Max_Hits_Returned__1_means_all_=Max Hits Returned (-1 means all)
BugzillaCustomQueryDialog_Query_URL=Query URL

Back to the top