From 04be564ed0ad20621738fa432829840c3a672898 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Fri, 21 Apr 2006 16:22:41 +0000 Subject: [PATCH] Finishing off AllTypesCache to put back the return nulls. --- .../org/eclipse/cdt/core/browser/AllTypesCache.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java b/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java index da40f02674b..7f52a6c8869 100644 --- a/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java +++ b/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java @@ -209,7 +209,9 @@ public class AllTypesCache { * @return the matching type */ public static ITypeInfo getType(ICProject project, int type, IQualifiedTypeName qualifiedName) { - throw new PDOMNotImplementedError(); + // TODO - seems to be only used when a namespace name is changed + // which would be pretty slow against the PDOM. + return null; } /** @@ -222,7 +224,9 @@ public class AllTypesCache { * @return Array of types */ public static ITypeInfo[] getTypes(ICProject project, IQualifiedTypeName qualifiedName, boolean matchEnclosed, boolean ignoreCase) { - throw new PDOMNotImplementedError(); + // TODO - seems to be only used when a class or namespace name is changed + // which would be pretty slow against the PDOM. + return new ITypeInfo[0]; } }