Remove support for inputs older than Magnesium
[yangtools.git] / codec / yang-data-codec-binfmt / src / main / java / org / opendaylight / yangtools / yang / data / codec / binfmt / NormalizedNodeStreamVersion.java
index 48f4defd4ec5378f8aed625c73c177723de6afb9..16b62a9a67ea4a1d258065ef4b6617d1aa38bd22 100644 (file)
@@ -18,69 +18,6 @@ import org.opendaylight.yangtools.yang.data.api.schema.ValueNode;
  */
 @NonNullByDefault
 public enum NormalizedNodeStreamVersion {
-    /**
-     * Original stream version, as shipped in OpenDaylight Lithium simultaneous release. The caveat here is that this
-     * version has augmented in OpenDaylight Oxygen to retrofit a non-null representation of the empty type.
-     *
-     * @deprecated This version cannot be written in and always required adaption. This version should not be relied
-     *             upon, as it is subject to removal in a future version.
-     */
-    @Deprecated(since = "11.0.0", forRemoval = true)
-    LITHIUM {
-        /**
-         * {@inheritDoc}
-         * @implSpec
-         *     This method always throws {@link UnsupportedOperationException}.
-         * @deprecated This version is a historic one and writeout is not supported
-         */
-        @Override
-        @Deprecated(since = "10.0.0", forRemoval = true)
-        public NormalizedNodeDataOutput newDataOutput(final DataOutput output) {
-            throw new UnsupportedOperationException();
-        }
-    },
-    /**
-     * Updated stream version, as shipped in OpenDaylight Neon SR2 release. Improves identifier encoding over
-     * {@link #LITHIUM}, so that QName caching is more effective.
-     *
-     * @deprecated This version cannot be written in and always required adaption. This version should not be relied
-     *             upon, as it is subject to removal in a future version.
-     */
-    @Deprecated(since = "11.0.0", forRemoval = true)
-    NEON_SR2 {
-        /**
-         * {@inheritDoc}
-         * @implSpec
-         *     This method always throws {@link UnsupportedOperationException}.
-         * @deprecated This version is a historic one and writeout is not supported
-         */
-        @Override
-        @Deprecated(since = "10.0.0", forRemoval = true)
-        public NormalizedNodeDataOutput newDataOutput(final DataOutput output) {
-            throw new UnsupportedOperationException();
-        }
-    },
-    /**
-     * First shipping in Sodium SR1. Improved stream coding to eliminate redundancies present in {@link #NEON_SR2}.
-     * Supports {@code Uint8} et al. as well as {@link BigInteger}.
-     *
-     * @deprecated This version cannot be written in and always required adaption. This version should not be relied
-     *             upon, as it is subject to removal in a future version.
-     */
-    @Deprecated(since = "11.0.0", forRemoval = true)
-    SODIUM_SR1 {
-        /**
-         * {@inheritDoc}
-         * @implSpec
-         *     This method always throws {@link UnsupportedOperationException}.
-         * @deprecated This version is a historic one and writeout is not supported
-         */
-        @Override
-        @Deprecated(since = "10.0.0", forRemoval = true)
-        public NormalizedNodeDataOutput newDataOutput(final DataOutput output) {
-            throw new UnsupportedOperationException();
-        }
-    },
     /**
      * First shipping is Magnesium. Does not support {@link BigInteger} mirroring it being superseded by {@link Uint64}
      * in {@link ValueNode#body()}.