Project

General

Profile

« Previous | Next » 

Revision d4511e7d

Added by Andreas Müller over 3 years ago

cleanup

View differences:

cdmlib-commons/src/main/java/eu/etaxonomy/cdm/common/TreeNode.java
107 107
     */
108 108
    public void addChild(TreeNode<T,S> child) {
109 109
        if (children == null) {
110
            children = new ArrayList<TreeNode<T,S>>();
110
            children = new ArrayList<>();
111 111
        }
112 112
        children.add(child);
113 113
    }
......
155 155
        return sb.toString();
156 156
    }
157 157

  
158
    /**
159
     *
160
     * @return the nodeId
161
     */
162 158
    public S getNodeId() {
163 159
        return nodeId;
164 160
    }
165

  
166
    /**
167
     * @param nodeId the nodeId to set
168
     */
169 161
    public void setNodeId(S nodeId) {
170 162
        this.nodeId = nodeId;
171 163
    }

Also available in: Unified diff