Deprecate JSONCodecFactory.Lhotka02 for removal
[yangtools.git] / codec / yang-data-codec-gson / src / main / java / org / opendaylight / yangtools / yang / data / codec / gson / JSONCodecFactory.java
index c043b8c3bbcfb4447add418cea109360f6166673..c7c666952a3061f8041549d9e5af8419c3b21bed 100644 (file)
@@ -52,6 +52,7 @@ import org.opendaylight.yangtools.yang.model.api.type.UnknownTypeDefinition;
  * a particular {@link EffectiveModelContext}, but can be reused by multiple {@link JSONNormalizedNodeStreamWriter}s.
  */
 public abstract sealed class JSONCodecFactory extends AbstractCodecFactory<JSONCodec<?>> {
+    @Deprecated(since = "12.0.0", forRemoval = true)
     static final class Lhotka02 extends JSONCodecFactory {
         Lhotka02(final @NonNull EffectiveModelContext context, final @NonNull CodecCache<JSONCodec<?>> cache) {
             super(context, cache, JSONInstanceIdentifierCodec.Lhotka02::new);