BUG-865: remove JSONCodec.needQuotes()
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / schema / nodes / CloneableChildrenMap.java
index 1b24c4a85b07183f227711e07c384c4c48a882ba..14dc036ca654ecf0f40d9f76d2230127cca34b6d 100644 (file)
@@ -8,7 +8,6 @@
 package org.opendaylight.yangtools.yang.data.impl.schema.nodes;
 
 import com.google.common.annotations.Beta;
-import java.util.Map;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
 import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild;
 
@@ -16,18 +15,13 @@ import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild;
  * Interface implemented by maps which allow efficient duplication. This interface IS NOT part of the
  * general API contract and is <strong>an internal implementation detail</strong>. It is subject to
  * change and/or removal at any time.
+ *
+ * @deprecated Deprecated during Beryllium release cycle, scheduled for removal.
  */
 @Beta
-public abstract class CloneableChildrenMap implements Map<PathArgument, DataContainerChild<? extends PathArgument, ?>> {
+@Deprecated
+public abstract class CloneableChildrenMap implements CloneableMap<PathArgument, DataContainerChild<? extends PathArgument, ?>> {
     CloneableChildrenMap() {
         // Hidden to prevent outside instantiation
     }
-
-    /**
-     * Create a clone of this map's contents. This does not include the actual
-     * keys and values, just the internal map state.
-     *
-     * @return An isolated, writable map.
-     */
-    public abstract Map<PathArgument, DataContainerChild<? extends PathArgument, ?>> createMutableClone();
 }