Remove of/copyOf factory methods
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / MutableOffsetMap.java
index 2c3ea479a247f4f932aedcc71c6ead4e00676bc8..45798d622b36f3b667f4167a0b672005ba2751e6 100644 (file)
@@ -143,14 +143,6 @@ public abstract class MutableOffsetMap<K, V> extends AbstractMap<K, V> implement
         this.needClone = false;
     }
 
-    /**
-     * @deprecated Use {@link #orderedCopyOf(Map)} or {@link #unorderedCopyOf(Map)} instead.
-     */
-    @Deprecated
-    public static <K, V> MutableOffsetMap<K, V> copyOf(final Map<K, V> m) {
-        return orderedCopyOf(m);
-    }
-
     public static <K, V> MutableOffsetMap<K, V> orderedCopyOf(final Map<K, V> m) {
         if (m instanceof Ordered) {
             return ((Ordered<K, V>) m).clone();
@@ -175,14 +167,6 @@ public abstract class MutableOffsetMap<K, V> extends AbstractMap<K, V> implement
         return new Unordered<>(m);
     }
 
-    /**
-     * @deprecated Use {@link #ordered()} or {@link #unordered()} instead.
-     */
-    @Deprecated
-    public static <K, V> MutableOffsetMap<K, V> of() {
-        return ordered();
-    }
-
     public static <K, V> MutableOffsetMap<K, V> ordered() {
         return new MutableOffsetMap.Ordered<>();
     }