diff options
Diffstat (limited to 'org.eclipse.handly/src/org/eclipse/handly/model/impl/support/Body.java')
-rw-r--r-- | org.eclipse.handly/src/org/eclipse/handly/model/impl/support/Body.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/org.eclipse.handly/src/org/eclipse/handly/model/impl/support/Body.java b/org.eclipse.handly/src/org/eclipse/handly/model/impl/support/Body.java index a44606f5..e75128b0 100644 --- a/org.eclipse.handly/src/org/eclipse/handly/model/impl/support/Body.java +++ b/org.eclipse.handly/src/org/eclipse/handly/model/impl/support/Body.java @@ -13,6 +13,7 @@ package org.eclipse.handly.model.impl.support; import java.lang.reflect.Array; +import org.eclipse.handly.model.Elements; import org.eclipse.handly.model.IElement; /** @@ -32,16 +33,11 @@ import org.eclipse.handly.model.IElement; */ public class Body { - /** - * A zero-length array of the runtime type <code>IElement[]</code>. - */ - public static final IElement[] NO_CHILDREN = new IElement[0]; - /* * Handles of immediate children of the element. * This is an empty array if the element has no children. */ - private volatile IElement[] children = NO_CHILDREN; + private volatile IElement[] children = Elements.EMPTY_ARRAY; /** * Returns the immediate children of the element. |