From 121377b097c9334adc94518f4386a7d9d485edd0 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Mon, 23 Sep 2002 13:40:44 +0000 Subject: [PATCH] make getChildren() a synchronous and getBinaries synchronous. --- .../eclipse/cdt/internal/core/model/BinaryContainer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/BinaryContainer.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/BinaryContainer.java index 02962288bcb..63c2fd8fb7a 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/BinaryContainer.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/BinaryContainer.java @@ -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) {