Improve yang-maven-plugin error reporting for errors in dependencies
[yangtools.git] / yang / yang-maven-plugin / src / main / java / org / opendaylight / yangtools / yang2sources / plugin / YangSourceInZipFile.java
index eb876f689c01ba6dd1d9a1e2c055305895d20f17..72ba67d4c82ee43ec299c8332115cfa281361b2c 100644 (file)
@@ -32,4 +32,9 @@ class YangSourceInZipFile extends YangSourceFromDependency {
     public InputStream openStream() throws IOException {
         return file.getInputStream(entry);
     }
-}
\ No newline at end of file
+
+    @Override
+    String getDescription() {
+        return file.getName() + "::" + entry.getName();
+    }
+}