Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] This patch fixes a bug in CProjectNature

This is a small patch that fix an evident bug in CProjectNature
implementation of  removeFromBuildSpec method.

Alex Chapiro

Index: CProjectNature.java
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CProjectNature.jav
a,v
retrieving revision 1.5
diff -u -r1.5 CProjectNature.java
--- CProjectNature.java 4 Jul 2003 18:36:45 -0000 1.5
+++ CProjectNature.java 9 Jul 2003 15:26:53 -0000
@@ -246,7 +246,7 @@
     System.arraycopy(commands, 0, newCommands, 0, i);
     System.arraycopy(commands, i + 1, newCommands, i, commands.length - i -
1);
     description.setBuildSpec(newCommands);
-    return;
+    break;
    }
   }
   getProject().setDescription(description, mon);




Back to the top