Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-04-27 16:26:34 +0000
committerSteffen Pingel2013-04-27 16:26:34 +0000
commit542c2a3ec5129854de11cfe9ae476b1b598c1078 (patch)
tree982b59676e2f0a1a9979535e60b573eb21dfcad8 /org.eclipse.mylyn.trac.ui/src/org
parentfb1bf0663dd3bd722b0003bb82b9b9a2cbf711fb (diff)
downloadorg.eclipse.mylyn.tasks-542c2a3ec5129854de11cfe9ae476b1b598c1078.tar.gz
org.eclipse.mylyn.tasks-542c2a3ec5129854de11cfe9ae476b1b598c1078.tar.xz
org.eclipse.mylyn.tasks-542c2a3ec5129854de11cfe9ae476b1b598c1078.zip
399302: reduce the number of warnings for all Tasks plugins
Change-Id: I2615efba4b9643ffa2bbce52d2172d6e8d1cf9bb Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=399302
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java4
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java4
2 files changed, 3 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java
index 0bd1b9063..dc7684cea 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java
@@ -53,8 +53,8 @@ public class TracConnectorUi extends AbstractRepositoryConnectorUi {
}
@Override
- public IHyperlink[] findHyperlinks(TaskRepository repository, String text, int lineOffset, int regionOffset) {
- return TracHyperlinkUtil.findTicketHyperlinks(repository, text, lineOffset, regionOffset);
+ public IHyperlink[] findHyperlinks(TaskRepository repository, ITask task, String text, int index, int textOffset) {
+ return TracHyperlinkUtil.findTicketHyperlinks(repository, text, index, textOffset);
}
@Override
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java
index 0b96c1196..1086358e2 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java
@@ -475,9 +475,7 @@ public class TracQueryPage extends AbstractRepositoryQueryPage2 {
}
@Override
- protected void createPageContent(@SuppressWarnings("restriction")
- SectionComposite composite) {
- @SuppressWarnings("restriction")
+ protected void createPageContent(SectionComposite composite) {
Composite control = composite.getContent();
GridLayout layout = new GridLayout(4, false);

Back to the top