src/java.desktop/share/classes/javax/swing/tree/DefaultMutableTreeNode.java
Print this page
*** 93,113 ****
/**
* An enumeration that is always empty. This is used when an enumeration
* of a leaf node's children is requested.
*/
! static public final Enumeration<TreeNode> EMPTY_ENUMERATION
= Collections.emptyEnumeration();
/** this node's parent, or null if this node has no parent */
protected MutableTreeNode parent;
/** array of children, may be null if this node has no children */
protected Vector<TreeNode> children;
/** optional user object */
! transient protected Object userObject;
/** true if the node is able to have children */
protected boolean allowsChildren;
--- 93,113 ----
/**
* An enumeration that is always empty. This is used when an enumeration
* of a leaf node's children is requested.
*/
! public static final Enumeration<TreeNode> EMPTY_ENUMERATION
= Collections.emptyEnumeration();
/** this node's parent, or null if this node has no parent */
protected MutableTreeNode parent;
/** array of children, may be null if this node has no children */
protected Vector<TreeNode> children;
/** optional user object */
! protected transient Object userObject;
/** true if the node is able to have children */
protected boolean allowsChildren;