BUG-4688: eliminate SimpleDateFormatUtil.DEFAULT_DATE_REV
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / tree / Bug8291Test.java
index f4952d5d592ad61460c45d8caa8c090807e24927..842c908b7fa540d9ddca4c1d4d9dcf81decb5e0e 100644 (file)
@@ -24,19 +24,17 @@ import org.opendaylight.yangtools.yang.data.api.schema.tree.TreeType;
 import org.opendaylight.yangtools.yang.data.impl.schema.Builders;
 import org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNodes;
 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
-import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
 
 public class Bug8291Test {
     private static final String NS = "foo";
-    private static final String REV = "1970-01-01";
-    private static final QName ROOT = QName.create(NS, REV, "root");
-    private static final QName OUTER_LIST = QName.create(NS, REV, "outer-list");
-    private static final QName OUTER_LIST_ID = QName.create(NS, REV, "id");
-    private static final QName INNER_LIST = QName.create(NS, REV, "inner-list");
+    private static final QName ROOT = QName.create(NS, "root");
+    private static final QName OUTER_LIST = QName.create(NS, "outer-list");
+    private static final QName OUTER_LIST_ID = QName.create(NS, "id");
+    private static final QName INNER_LIST = QName.create(NS, "inner-list");
     private SchemaContext schemaContext;
 
     @Before
-    public void init() throws ReactorException {
+    public void init() {
         this.schemaContext = TestModel.createTestContext("/bug8291/foo.yang");
         assertNotNull("Schema context must not be null.", this.schemaContext);
     }