Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-08-22 13:43:26 -0400
committermkersten2005-08-22 13:43:26 -0400
commitd8260e5c01b8ed8d6479df2f462ebe25aa4c0d08 (patch)
treeb1fcad1f34f35229c08e5bf5e887a1c36f001245
parent46428a3c3e5a007bafcb99e67f700c57e29f3857 (diff)
downloadorg.eclipse.mylyn.tasks-d8260e5c01b8ed8d6479df2f462ebe25aa4c0d08.tar.gz
org.eclipse.mylyn.tasks-d8260e5c01b8ed8d6479df2f462ebe25aa4c0d08.tar.xz
org.eclipse.mylyn.tasks-d8260e5c01b8ed8d6479df2f462ebe25aa4c0d08.zip
Minor fix
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugs/java/BugzillaHyperLinkDetector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugs/java/BugzillaHyperLinkDetector.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugs/java/BugzillaHyperLinkDetector.java
index c01874f5c..05c1b936a 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugs/java/BugzillaHyperLinkDetector.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugs/java/BugzillaHyperLinkDetector.java
@@ -130,7 +130,7 @@ public class BugzillaHyperLinkDetector extends AbstractMylarHyperlinkDetector {
int end = comment.indexOf(" ", endCommentStart);
int end2 = comment.indexOf(":", endCommentStart);
- if(end2 < end || (end == -1 && end2 != -1)){
+ if((end2 < end && end2 != -1) || (end == -1 && end2 != -1)){
end = end2;
}

Back to the top