mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
make getChildren() a synchronous
and getBinaries synchronous.
This commit is contained in:
parent
fb7af82224
commit
121377b097
1 changed files with 3 additions and 3 deletions
|
@ -36,18 +36,18 @@ public class BinaryContainer extends Parent implements IBinaryContainer {
|
|||
}
|
||||
|
||||
public IBinary[] getBinaries() {
|
||||
ICElement[] e = getChildren(false);
|
||||
ICElement[] e = getChildren(true);
|
||||
IBinary[] b = new IBinary[e.length];
|
||||
System.arraycopy(e, 0, b, 0, e.length);
|
||||
return b;
|
||||
}
|
||||
|
||||
public boolean hasChildren() {
|
||||
return (getChildren().length > 0);
|
||||
return (getChildren(true).length > 0);
|
||||
}
|
||||
|
||||
public ICElement [] getChildren() {
|
||||
return getChildren(true);
|
||||
return getChildren(false);
|
||||
}
|
||||
|
||||
public ICElement [] getChildren(boolean sync) {
|
||||
|
|
Loading…
Add table
Reference in a new issue