Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
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
diff --git
a/yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangSourceInZipFile.java
b/yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangSourceInZipFile.java
index eb876f689c01ba6dd1d9a1e2c055305895d20f17..72ba67d4c82ee43ec299c8332115cfa281361b2c 100644
(file)
--- a/
yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangSourceInZipFile.java
+++ b/
yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangSourceInZipFile.java
@@
-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();
+ }
+}