One empty array is as good as another.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6662 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1093,12 +1093,9 @@ public class DObject
|
||||
/** Indicates whether we want to be destroyed when our last subscriber is removed. */
|
||||
protected transient boolean _deathWish = false;
|
||||
|
||||
/** Any local attributes configured on this object or null. */
|
||||
protected transient Object[] _locattrs = NO_ATTRS;
|
||||
/** Any local attributes configured on this object. */
|
||||
protected transient Object[] _locattrs = ArrayUtil.EMPTY_OBJECT;
|
||||
|
||||
/** Maintains a mapping of sorted accessor arrays for each distributed object class. */
|
||||
protected static Map<Class<?>, Accessor[]> _atable = Maps.newHashMap();
|
||||
|
||||
/** Simplifies code for objects that have no local attributes. */
|
||||
protected static final Object[] NO_ATTRS = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user