Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-03-03 21:32:08 +0000
committerfbecker2010-03-03 21:32:08 +0000
commit86a87382ef88d402f08ce2ed9454a2c7280ab5bd (patch)
treeb857af13f998834d9dcaeff4682c8b8a29dd87b4 /org.eclipse.mylyn.bugzilla.ui/src
parent751da41a8942179496277d286f351c48e031a477 (diff)
downloadorg.eclipse.mylyn.tasks-86a87382ef88d402f08ce2ed9454a2c7280ab5bd.tar.gz
org.eclipse.mylyn.tasks-86a87382ef88d402f08ce2ed9454a2c7280ab5bd.tar.xz
org.eclipse.mylyn.tasks-86a87382ef88d402f08ce2ed9454a2c7280ab5bd.zip
ASSIGNED - bug 164221: Recognize comment#number link on bug editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=164221 Cleanup and add some more junit tests.
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui/src')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java8
1 files changed, 0 insertions, 8 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 1046e1a3f..ec6468170 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
@@ -57,15 +57,7 @@ public class BugzillaConnectorUi extends AbstractRepositoryConnectorUi {
private static final int ATTACHMENT_NUM_GROUP = 14;
-// private static final String regexp = "(?:(duplicate of|(\\W||^)+bug|(\\W|^)+task)( ?#? ?)(\\d+)((\\s)*(comment|c)(\\s#|#|#\\s|\\s|)(\\s\\d+|\\d+))?)|(?:Created an attachment\\s*\\(id=(\\d+)\\))"; //$NON-NLS-1$
-
private static final String regexp = "(?:(duplicate of|(\\W||^)+bug|(\\W|^)+task)( ?#? ?)(\\d+)((\\s)*(comment|c)(\\s#|#|#\\s|\\s|)(\\s\\d+|\\d+))?)|(?:(Created (an )?attachment\\s*(\\(id=)?(\\d+)))"; //$NON-NLS-1$
-//
-// private static final String regexp = "(?:(duplicate of|(\\W||^)+bug|(\\W|^)+task)( ?#? ?)(\\d+))|(?:(Created (an )?attachment\\s*(\\(id=)?(\\d+)))"; //$NON-NLS-1$
-//
-//
-// private static final String regexp = "(duplicate of|bug|task)( ?#? ?)(\\d+)"; //$NON-NLS-1$
-// private static final String regexp = "(duplicate of|bug|task)( ?#? ?)(\\d+)((\\s)*(comment|c)(\\s#|#|#\\s|\\s|)(\\s\\d+|\\d+))?"; //$NON-NLS-1$
private static final Pattern PATTERN = Pattern.compile(regexp, Pattern.CASE_INSENSITIVE);

Back to the top