diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMWriter.java')
-rw-r--r-- | core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMWriter.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMWriter.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMWriter.java index 838b4c6ad27..e17e1505122 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMWriter.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMWriter.java @@ -247,9 +247,9 @@ abstract public class PDOMWriter { IIndexFragmentFile ifile= storeFileInIndex(data, fileInAST, linkageID, lock); if (fileInAST.fIncludeStatement == null && replaceFile != null && !replaceFile.equals(ifile)) { data.fIndex.transferIncluders(replaceFile, ifile); - reportFileWrittenToIndex(fileInAST, ifile, replaceFile); + reportFileWrittenToIndex(fileInAST, ifile); } else { - reportFileWrittenToIndex(fileInAST, ifile, null); + reportFileWrittenToIndex(fileInAST, ifile); } } catch (RuntimeException e) { th= e; @@ -556,8 +556,7 @@ abstract public class PDOMWriter { /** * Informs the subclass that a file has been stored in the index. */ - protected abstract void reportFileWrittenToIndex(FileInAST file, IIndexFragmentFile iFile, - IIndexFragmentFile replacesFile) throws CoreException; + protected abstract void reportFileWrittenToIndex(FileInAST file, IIndexFragmentFile iFile) throws CoreException; private String getLocationInfo(String filename, int lineNumber) { return " at " + filename + "(" + lineNumber + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ |