Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java
index f8a920df4..6c1ab92c8 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java
@@ -47,7 +47,7 @@ public class BugzillaReferencesProvider extends AbstractRelationshipProvider {
protected boolean acceptElement(IJavaElement javaElement) {
return javaElement != null
- && (javaElement instanceof IMember || javaElement instanceof IType);
+ && (javaElement instanceof IMember || javaElement instanceof IType) && javaElement.exists();
}
/**
@@ -61,8 +61,6 @@ public class BugzillaReferencesProvider extends AbstractRelationshipProvider {
return;
}
runJob(node, degreeOfSeparation);
-
- //XXX what if degreeOfSeparation is 5?
}
@Override

Back to the top