*
* @param <T> registration type
* @author Robert Varga
+ *
+ * @deprecated Use {@link org.opendaylight.mdsal.dom.spi.RegistrationTreeNode} instead.
*/
+@Deprecated
public final class RegistrationTreeNode<T> implements Identifiable<PathArgument> {
private static final Logger LOG = LoggerFactory.getLogger(RegistrationTreeNode.class);
RegistrationTreeNode<T> ensureChild(@Nonnull final PathArgument child) {
RegistrationTreeNode<T> potential = children.get(Preconditions.checkNotNull(child));
if (potential == null) {
- potential = new RegistrationTreeNode<T>(this, child);
+ potential = new RegistrationTreeNode<>(this, child);
children.put(child, potential);
}
return potential;