1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

fix for the tool-chain modification functionality

This commit is contained in:
Mikhail Sennikovsky 2007-11-16 12:26:08 +00:00
parent 57cb57cb84
commit e22a62814b

View file

@ -454,12 +454,12 @@ public class ResourceConfiguration extends ResourceInfo implements IFileInfo {
* @see org.eclipse.cdt.core.build.managed.IResourceConfiguration#getTools()
*/
public ITool[] getTools() {
ITool[] tools = new ITool[getToolList().size()];
Tool[] tools = new Tool[getToolList().size()];
Iterator iter = getToolList().listIterator();
int i = 0;
while (iter.hasNext()) {
Tool tool = (Tool)iter.next();
tools[i++] = (ITool)tool;
tools[i++] = tool;
}
return tools;
}