Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-02-12 01:38:30 +0000
committerspingel2009-02-12 01:38:30 +0000
commitcc93f891d3994b04cbdf898dafbce96e166b6657 (patch)
treee0d7f30f64dd1e34965470bf993c7a07aca3ad1b /org.eclipse.mylyn.trac.ui/src/org/eclipse
parent00ce1f13fe506bb49ff1bfdd634236e500454af6 (diff)
downloadorg.eclipse.mylyn.tasks-cc93f891d3994b04cbdf898dafbce96e166b6657.tar.gz
org.eclipse.mylyn.tasks-cc93f891d3994b04cbdf898dafbce96e166b6657.tar.xz
org.eclipse.mylyn.tasks-cc93f891d3994b04cbdf898dafbce96e166b6657.zip
NEW - bug 264612: Trac detects task hyperlinks twice
https://bugs.eclipse.org/bugs/show_bug.cgi?id=264612
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
index 649a6a03d..57568e65e 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
@@ -116,15 +116,7 @@ public class TracHyperlinkUtil {
int textOffset) {
List<IHyperlink> links = new ArrayList<IHyperlink>();
- Matcher m = ticketPattern.matcher(text);
- while (m.find()) {
- if (isInRegion(offsetInText, m)) {
- String id = m.group(2);
- links.add(new TaskHyperlink(determineRegion(textOffset, m), repository, id));
- }
- }
-
- m = commentPattern.matcher(text);
+ Matcher m = commentPattern.matcher(text);
while (m.find()) {
if (isInRegion(offsetInText, m)) {
String id = m.group(1);

Back to the top