// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config;

import java.util.List;

/**
 * @author gjoranv
 * @since 5.1.4
 */
public class InnerNodeVector<NODE extends InnerNode> extends NodeVector<NODE> {

    public InnerNodeVector(List<NODE> nodes) {
        vector.addAll(nodes);
    }

    // TODO: Remove for Vespa 7
    public InnerNodeVector(List<NODE> nodes, NODE defaultNode) {
        this(nodes);
    }

}

// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config;

import java.util.List;

/**
 * @author gjoranv
 * @since 5.1.4
 */
public class InnerNodeVector<NODE extends InnerNode> extends NodeVector<NODE> {

    public InnerNodeVector(List<NODE> nodes) {
        vector.addAll(nodes);
    }

}

Remove unused ctor in InnerNodeVector