Author: dazarov
Date: 2010-02-09 12:18:31 -0500 (Tue, 09 Feb 2010)
New Revision: 20204
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointHyperlinkDetector.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3125
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointHyperlinkDetector.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointHyperlinkDetector.java 2010-02-09
15:34:41 UTC (rev 20203)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointHyperlinkDetector.java 2010-02-09
17:18:31 UTC (rev 20204)
@@ -32,6 +32,7 @@
import org.eclipse.ui.texteditor.ITextEditor;
import org.jboss.tools.cdi.core.CDIConstants;
import org.jboss.tools.cdi.core.CDICorePlugin;
+import org.jboss.tools.cdi.text.ext.CDIExtensionsPlugin;
public class InjectedPointHyperlinkDetector extends AbstractHyperlinkDetector{
@@ -63,7 +64,7 @@
if (resource instanceof IFile)
file = (IFile) resource;
} catch (JavaModelException e) {
- // Ignore. It is probably because of Java element's resource is not found
+ CDIExtensionsPlugin.log(e);
}
if(file == null)
@@ -106,7 +107,7 @@
return (IHyperlink[])hyperlinks.toArray(new IHyperlink[hyperlinks.size()]);
}
} catch (JavaModelException jme) {
- // ignore
+ CDIExtensionsPlugin.log(jme);
}
return null;
}