1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Fix for compile error in CTagEntry

This commit is contained in:
Bogdan Gheorghe 2005-05-27 20:59:33 +00:00
parent 2e7ff71a7e
commit 2e324713bd

View file

@ -17,6 +17,7 @@ import java.util.StringTokenizer;
import org.eclipse.cdt.internal.core.index.FunctionEntry; import org.eclipse.cdt.internal.core.index.FunctionEntry;
import org.eclipse.cdt.internal.core.index.IIndex; import org.eclipse.cdt.internal.core.index.IIndex;
import org.eclipse.cdt.internal.core.index.IIndexerOutput; import org.eclipse.cdt.internal.core.index.IIndexerOutput;
import org.eclipse.cdt.internal.core.index.INamedEntry;
import org.eclipse.cdt.internal.core.index.NamedEntry; import org.eclipse.cdt.internal.core.index.NamedEntry;
import org.eclipse.cdt.internal.core.index.TypeEntry; import org.eclipse.cdt.internal.core.index.TypeEntry;
import org.eclipse.cdt.internal.core.index.cindexstorage.ICIndexStorageConstants; import org.eclipse.cdt.internal.core.index.cindexstorage.ICIndexStorageConstants;
@ -255,7 +256,7 @@ class CTagEntry{
return modifier; return modifier;
} }
private char[][] getInherits() { private INamedEntry[] getInherits() {
//Check inherits modifier //Check inherits modifier
String access = (String) tagExtensionField.get(CTagsConsoleParser.INHERITS); String access = (String) tagExtensionField.get(CTagsConsoleParser.INHERITS);
@ -266,8 +267,8 @@ class CTagEntry{
while (tokenizer.hasMoreTokens()){ while (tokenizer.hasMoreTokens()){
list.add(tokenizer.nextToken().toCharArray()); list.add(tokenizer.nextToken().toCharArray());
} }
char[][] inherits = new char[0][]; INamedEntry[] inherits = new INamedEntry[0];
inherits = (char [][]) list.toArray(inherits); inherits = (INamedEntry[]) list.toArray(inherits);
return inherits; return inherits;
} }