BUG-7051: move isModuleIdentifierWithoutSpecifiedRevision
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / Utils.java
index 86ffd0ae09fd5ac0cbb20d9579745acb37632a09..e591361b45858be106d0dd7b713e03c91d6c6eb1 100644 (file)
@@ -569,12 +569,6 @@ public final class Utils {
         return revision;
     }
 
-    public static boolean isModuleIdentifierWithoutSpecifiedRevision(final Object o) {
-        return (o instanceof ModuleIdentifier)
-                && (((ModuleIdentifier) o).getRevision() == SimpleDateFormatUtil.DEFAULT_DATE_IMP || ((ModuleIdentifier) o)
-                        .getRevision() == SimpleDateFormatUtil.DEFAULT_BELONGS_TO_DATE);
-    }
-
     /**
      * Replaces illegal characters of QName by the name of the character (e.g.
      * '?' is replaced by "QuestionMark" etc.).