Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Overholt2009-12-22 20:43:09 +0000
committerAndrew Overholt2009-12-22 20:43:09 +0000
commit8656f6586c13fd418b22563eb32c1665308436f0 (patch)
tree10e07fd93f77bc110b8f2c4c9f26b3bab060ad15
parente8af8c72a549642474d3ae6e8d370878b6797b6a (diff)
downloadorg.eclipse.linuxtools-8656f6586c13fd418b22563eb32c1665308436f0.tar.gz
org.eclipse.linuxtools-8656f6586c13fd418b22563eb32c1665308436f0.tar.xz
org.eclipse.linuxtools-8656f6586c13fd418b22563eb32c1665308436f0.zip
2009-12-22 Andrew Overholt <overholt@redhat.com>
* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (getMemberSummary): Revert Helios-only change on trunk.
-rw-r--r--libhover/org.eclipse.linuxtools.cdt.libhover/ChangeLog5
-rw-r--r--libhover/org.eclipse.linuxtools.cdt.libhover/src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java12
2 files changed, 15 insertions, 2 deletions
diff --git a/libhover/org.eclipse.linuxtools.cdt.libhover/ChangeLog b/libhover/org.eclipse.linuxtools.cdt.libhover/ChangeLog
index db4823d93d..85ab0e2c67 100644
--- a/libhover/org.eclipse.linuxtools.cdt.libhover/ChangeLog
+++ b/libhover/org.eclipse.linuxtools.cdt.libhover/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-22 Andrew Overholt <overholt@redhat.com>
+
+ * src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (getMemberSummary):
+ Revert Helios-only change on trunk.
+
2009-12-17 Andrew Overholt <overholt@redhat.com>
* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (getMemberSummary):
diff --git a/libhover/org.eclipse.linuxtools.cdt.libhover/src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java b/libhover/org.eclipse.linuxtools.cdt.libhover/src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java
index c04e403d99..5dcb47bce2 100644
--- a/libhover/org.eclipse.linuxtools.cdt.libhover/src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java
+++ b/libhover/org.eclipse.linuxtools.cdt.libhover/src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java
@@ -450,8 +450,16 @@ public class LibHover implements ICHelpProvider {
if (info == null)
return null;
if (methodType != null) {
- args = resolveArgs(info, methodType.getParameterTypes(), templateTypes);
- returnType = methodType.getReturnType();
+ try {
+ args = resolveArgs(info, methodType.getParameterTypes(), templateTypes);
+ returnType = methodType.getReturnType();
+ } catch (DOMException e) {
+ // TODO Auto-generated catch block
+ return null;
+ }
+// for (int i = 0; i < args.length; ++i)
+// System.out.println("args<" + i + "> is " + args[i].toString());
+// System.out.println("return type is " + returnType.toString());
}
MemberInfo member = info.getMember(memberName);

Back to the top