1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

Removed uses of a deprecated class.

This commit is contained in:
Sergey Prigogin 2010-09-19 22:30:04 +00:00
parent 7ebce37f93
commit 3a6b1d1846

View file

@ -49,7 +49,6 @@ public class TranslationUnitHelper {
* @throws CoreException
*/
public static IASTTranslationUnit loadTranslationUnit(String filename, boolean useIndex) throws CoreException{
if (filename != null) {
IFile[] tmpFile = null;
@ -87,8 +86,7 @@ public class TranslationUnitHelper {
}
}
private static IASTTranslationUnit loadIndexBasedTranslationUnit(IFile file)
throws CoreException {
private static IASTTranslationUnit loadIndexBasedTranslationUnit(IFile file) throws CoreException {
IIndex index = null;
try {
index = lockIndex();