BUG-865: remove QName(Module).cachedReference()
[yangtools.git] / yang / yang-common / src / main / java / org / opendaylight / yangtools / yang / common / QNameModule.java
index 0c786146e67c627fece599041af4545e444fd546..600138faebae12989c839c242ad3cca8b389c58f 100644 (file)
@@ -39,19 +39,6 @@ public final class QNameModule implements Immutable, Serializable {
         this.revision = revision;
     }
 
-    /**
-     * Look up specified module in the global cache and return a shared reference.
-     *
-     * @param module Module instance
-     * @return Cached instance, according to {@link org.opendaylight.yangtools.objcache.ObjectCache} policy.
-     *
-     * @deprecated Use {@link #intern()} instead.
-     */
-    @Deprecated
-    public static QNameModule cachedReference(final QNameModule module) {
-        return module.intern();
-    }
-
     /**
      * Return an interned reference to a equivalent QNameModule.
      *