Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Sennikovsky2007-11-17 13:54:45 +0000
committerMikhail Sennikovsky2007-11-17 13:54:45 +0000
commit6b741b65e69b5875d847def0091f982135aa9536 (patch)
treeb43a6ca381fedfd30431849c16f3e913143b9494
parent5dc16f619cd994ae8ab842a93962c64b4903bc5b (diff)
downloadorg.eclipse.cdt-6b741b65e69b5875d847def0091f982135aa9536.tar.gz
org.eclipse.cdt-6b741b65e69b5875d847def0091f982135aa9536.tar.xz
org.eclipse.cdt-6b741b65e69b5875d847def0091f982135aa9536.zip
fix for [bug 205840] Should file-level tool be updated when project toolchain changes?
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/tcmodification/PathComparator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/tcmodification/PathComparator.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/tcmodification/PathComparator.java
index 19fc7e29c6e..ff688de9055 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/tcmodification/PathComparator.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/tcmodification/PathComparator.java
@@ -95,7 +95,7 @@ public class PathComparator implements Comparator {
IPath childPath = (IPath)iter.next();
result.add(childPath);
- children = getChildPathSet(children, getNext(childPath), true, false);
+ children = children.tailSet(getNext(childPath));//getChildPathSet(children, getNext(childPath), true, false);
}
return result;
@@ -110,7 +110,7 @@ public class PathComparator implements Comparator {
IPath childPath = (IPath)entry.getKey();
result.put(childPath, entry.getValue());
- children = getChildPathMap(children, getNext(childPath), true, false);
+ children = children.tailMap(getNext(childPath));//getChildPathMap(children, getNext(childPath), true, false);
}
return result;

Back to the top