mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Remove useless methods
This commit is contained in:
parent
fd78e1bd32
commit
d01a3f7d71
1 changed files with 0 additions and 16 deletions
|
@ -280,22 +280,6 @@ public class CModelManager implements IResourceChangeListener {
|
||||||
//return new CModel(root);
|
//return new CModel(root);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void removeChildrenContainer(Parent container, IResource resource) {
|
|
||||||
if (container.hasChildren()) {
|
|
||||||
ICElement[] children = container.getChildren();
|
|
||||||
for (int i = 0; i < children.length; i++) {
|
|
||||||
try {
|
|
||||||
IResource r = children[i].getUnderlyingResource();
|
|
||||||
if (r.equals(resource)) {
|
|
||||||
container.removeChild(children[i]);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
} catch (CModelException e) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void releaseCElement(ICElement celement) {
|
public void releaseCElement(ICElement celement) {
|
||||||
|
|
||||||
// Guard.
|
// Guard.
|
||||||
|
|
Loading…
Add table
Reference in a new issue