Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Ferguson2007-05-25 09:18:37 +0000
committerAndrew Ferguson2007-05-25 09:18:37 +0000
commit6c578aa80c76d5d9948967bf76b803341964969a (patch)
treed39e8ebd3fb345e9d0e252f5e8253e69cadd510d /build/org.eclipse.cdt.managedbuilder.gnu.ui/src
parentaa87b0aa44fde197cd7d22f914e345c8a13604c8 (diff)
downloadorg.eclipse.cdt-6c578aa80c76d5d9948967bf76b803341964969a.tar.gz
org.eclipse.cdt-6c578aa80c76d5d9948967bf76b803341964969a.tar.xz
org.eclipse.cdt-6c578aa80c76d5d9948967bf76b803341964969a.zip
add a class specialization test, ensure an ast test uses fresh files
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.gnu.ui/src')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/templates/SimpleMakefileGenerator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/templates/SimpleMakefileGenerator.java b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/templates/SimpleMakefileGenerator.java
index 9150103c091..3792bba1b2a 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/templates/SimpleMakefileGenerator.java
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/templates/SimpleMakefileGenerator.java
@@ -99,7 +99,7 @@ public class SimpleMakefileGenerator extends ProcessRunner {
for (Iterator i = valueStore.keySet().iterator(); i.hasNext();) {
String key = (String)i.next();
String pattern = START + key +END;
- if (!fileContents.contains(pattern))
+ if (fileContents.indexOf(pattern)==-1)
// Not used
continue;

Back to the top