1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 00:36:16 +02:00

Fix warnings.

This commit is contained in:
Markus Schorn 2009-02-04 08:00:20 +00:00
parent c012aa7dae
commit fda5b99f5f

View file

@ -12,15 +12,10 @@
package org.eclipse.cdt.internal.ui.refactoring.utils;
import java.net.URI;
import java.net.URISyntaxException;
import org.eclipse.core.filesystem.URIUtil;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.cdt.core.CCorePlugin;
import org.eclipse.cdt.core.dom.CDOM;
@ -59,7 +54,7 @@ public class TranslationUnitHelper {
IFile[] tmpFile = null;
tmpFile = ResourcesPlugin.getWorkspace().getRoot().findFilesForLocationURI(
URIUtil.toURI(filename)); //$NON-NLS-1$
URIUtil.toURI(filename));
return loadTranslationUnit(tmpFile[0], useIndex);
}