Migrate users of deprecated QNameModule methods
[yangtools.git] / model / rfc6643-model-api / src / main / java / org / opendaylight / yangtools / rfc6643 / model / api / IetfYangSmiv2Constants.java
index c1f1aa359ae6bc7982ff74cf202424022e58738b..e02813e4861eea09d2c51642d78dd346bb8ee681 100644 (file)
@@ -26,7 +26,7 @@ public final class IetfYangSmiv2Constants {
     /**
      * Runtime RFC6643 identity.
      */
-    public static final QNameModule RFC6643_MODULE = QNameModule.create(MODULE_NAMESPACE, RFC6643_REVISION).intern();
+    public static final QNameModule RFC6643_MODULE = QNameModule.of(MODULE_NAMESPACE, RFC6643_REVISION).intern();
 
     /**
      * Normative prefix to use when importing {@link #MODULE_NAME}.