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:
parent
57cb57cb84
commit
e22a62814b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue