Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskHyperlinkDetector.java6
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkDetector.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskHyperlinkDetector.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskHyperlinkDetector.java
index 1210f23de..7289cd254 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskHyperlinkDetector.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskHyperlinkDetector.java
@@ -91,7 +91,7 @@ public abstract class AbstractTaskHyperlinkDetector extends AbstractHyperlinkDet
return null;
}
- List<IHyperlink> hyperlinks = detectHyperlinks(textViewer, content, contentOffset, index);
+ List<IHyperlink> hyperlinks = detectHyperlinks(textViewer, content, index, contentOffset);
if (hyperlinks == null) {
return null;
}
@@ -115,8 +115,8 @@ public abstract class AbstractTaskHyperlinkDetector extends AbstractHyperlinkDet
/**
* @since 3.1
*/
- protected abstract List<IHyperlink> detectHyperlinks(ITextViewer textViewer, String content, int contentOffset,
- int index);
+ protected abstract List<IHyperlink> detectHyperlinks(ITextViewer textViewer, String content, int index,
+ int contentOffset);
private boolean isInRegion(IRegion detectInRegion, IRegion hyperlinkRegion) {
return detectInRegion.getOffset() >= hyperlinkRegion.getOffset()
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkDetector.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkDetector.java
index 30787dd7b..c8a0336c7 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkDetector.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkDetector.java
@@ -28,7 +28,7 @@ public class TracHyperlinkDetector extends AbstractTaskHyperlinkDetector {
}
@Override
- protected List<IHyperlink> detectHyperlinks(ITextViewer textViewer, String content, int contentOffset, int index) {
+ protected List<IHyperlink> detectHyperlinks(ITextViewer textViewer, String content, int index, int contentOffset) {
TaskRepository taskRepository = getTaskRepository(textViewer);
if (taskRepository != null && TracCorePlugin.CONNECTOR_KIND.equals(taskRepository.getConnectorKind())) {
return TracHyperlinkUtil.findTracHyperlinks(taskRepository, content, index, contentOffset);

Back to the top