BUG-4688: update Revision design a bit more
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / ImmutableNormalizedNodeStreamWriterTest.java
index 57065d701a9df7559cec33c6dcb0574631921a28..970228e8bb91f623a445c9807a080bf18411ef62 100644 (file)
@@ -83,7 +83,7 @@ public class ImmutableNormalizedNodeStreamWriterTest {
 
     @Before
     public void setup() throws URISyntaxException, ParseException {
-        bazModule = QNameModule.create(new URI("baz-namespace"), Revision.valueOf("1970-01-01"));
+        bazModule = QNameModule.create(new URI("baz-namespace"), Revision.of("1970-01-01"));
 
         outerContainer = QName.create(bazModule, "outer-container");