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

Bug 462823: Normalise files paths in HeaderFileReferenceAdjuster

Change-Id: Iffd3b6012ad492492e430162adbd895b6d8997e4
Signed-off-by: William Riley <william.riley@renesas.com>
This commit is contained in:
William Riley 2015-03-23 09:53:36 +00:00 committed by Gerrit Code Review @ Eclipse.org
parent 535f49a7db
commit ab6c210d1d

View file

@ -118,7 +118,8 @@ public class HeaderFileReferenceAdjuster {
this.movedFiles = movedFiles;
this.movedFilesByLocation = new HashMap<>();
for (Entry<IFile, IFile> entry : movedFiles.entrySet()) {
this.movedFilesByLocation.put(entry.getKey().getLocation().toOSString(),
//Construct map using normalised file paths
this.movedFilesByLocation.put(entry.getKey().getLocation().toString(),
entry.getValue().getLocation());
}
this.renamedContainers = renamedContainers;