X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fstmt%2FEffectiveModuleTest.java;h=39a884dde2797f6aca7e73edda5a7c6cf41a7682;hb=b212baa59f859732bd3a799425bb420035fe6154;hp=e3c4c1de23ebf4f227749630f0323aeaddc6516e;hpb=891817dd764184f4986e9f2f3ad7c29af55a9249;p=yangtools.git diff --git a/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/EffectiveModuleTest.java b/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/EffectiveModuleTest.java index e3c4c1de23..39a884dde2 100644 --- a/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/EffectiveModuleTest.java +++ b/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/EffectiveModuleTest.java @@ -13,13 +13,13 @@ import static org.junit.Assert.assertNotNull; import static org.opendaylight.yangtools.yang.stmt.StmtTestUtils.sourceForResource; import java.net.URI; -import java.util.Date; import java.util.List; import java.util.Optional; import java.util.Set; import org.junit.Test; import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.common.QNameModule; +import org.opendaylight.yangtools.yang.common.Revision; import org.opendaylight.yangtools.yang.common.YangVersion; import org.opendaylight.yangtools.yang.model.api.AugmentationSchema; import org.opendaylight.yangtools.yang.model.api.ContainerSchemaNode; @@ -58,7 +58,7 @@ public class EffectiveModuleTest { private static final SchemaPath contSchemaPath = SchemaPath.create(true, cont); private static final SchemaPath feature1SchemaPath = SchemaPath.create(true, feature1); - private static final Date REVISION = QName.parseRevision("2000-01-01"); + private static final Revision REVISION = Revision.valueOf("2000-01-01"); @Test public void effectiveBuildTest() throws SourceException, ReactorException {