Fix checkstyle issues reported by odlparent-3.0.0's checkstyle
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / leafref / context / LeafRefContextTreeBuilderTest.java
index 35ce67f88f28fda90deb86e05544bb0863a5c787..32ff88de6fe08c1dd63f85b1fd6dfe3fe8a0a61a 100644 (file)
@@ -219,8 +219,7 @@ public class LeafRefContextTreeBuilderTest {
     @Test(expected = IllegalArgumentException.class)
     @Ignore
     public void incorrectLeafRefPathTest() {
-        final SchemaContext context = YangParserTestUtils.parseYangResourceDirectory(
-            "/leafref-context-test/incorrect-modules");
-        LeafRefContext.create(context);
+        LeafRefContext.create(
+                YangParserTestUtils.parseYangResourceDirectory("/leafref-context-test/incorrect-modules"));
     }
 }