Remove JSONCodecFactory.create(SchemaContext)
[yangtools.git] / yang / yang-data-codec-gson / src / main / java / org / opendaylight / yangtools / yang / data / codec / gson / JSONCodecFactory.java
index cdc14de61d31cbbab5da5c02c17203d7537482ed..21a640af16a0625ade22bb0178dee675321bdcc5 100644 (file)
@@ -111,19 +111,6 @@ public final class JSONCodecFactory extends AbstractCodecFactory<JSONCodec<?>> {
         iidCodec = new JSONStringInstanceIdentifierCodec(context, this);
     }
 
-    /**
-     * Instantiate a new codec factory attached to a particular context.
-     *
-     * @param context SchemaContext to which the factory should be bound
-     * @return A codec factory instance.
-     *
-     * @deprecated Use {@link #getShared(SchemaContext)} instead.
-     */
-    @Deprecated
-    public static JSONCodecFactory create(final SchemaContext context) {
-        return getShared(context);
-    }
-
     /**
      * Get a thread-safe, eagerly-caching {@link JSONCodecFactory} for a SchemaContext. This method can, and will,
      * return the same instance as long as the associated SchemaContext is present. Returned object can be safely