commit | 2a5c17b7fc5bff550b8c6bf00c9d2cc962a3cd9a | [log] [tgz] |
---|---|---|
author | sonugupta-huawei <sonu.gupta1289@gmail.com> | Thu Jul 27 10:43:51 2017 +0530 |
committer | sonugupta-huawei <sonu.gupta1289@gmail.com> | Thu Jul 27 10:44:28 2017 +0530 |
tree | f3b7665c8e1736d2393ab58d8df1b44e87efa369 | |
parent | 9d8e33261e362991b8d0220e0f2161dbcd2302de [diff] |
seriealize file handling issue Change-Id: I79652b78632a91269301d339e5742f9ddffa6d36
diff --git a/compiler/base/tool/src/main/java/org/onosproject/yang/compiler/tool/YangCompilerManager.java b/compiler/base/tool/src/main/java/org/onosproject/yang/compiler/tool/YangCompilerManager.java index d7dcfb5..03311fd 100644 --- a/compiler/base/tool/src/main/java/org/onosproject/yang/compiler/tool/YangCompilerManager.java +++ b/compiler/base/tool/src/main/java/org/onosproject/yang/compiler/tool/YangCompilerManager.java
@@ -550,7 +550,7 @@ while (enumEntries.hasMoreElements()) { JarEntry file = (JarEntry) enumEntries.nextElement(); - if (file.getName().endsWith(".ser")) { + if (file.getName().endsWith(YANG_META_DATA)) { if (file.getName().contains(SLASH)) { String[] strArray = file.getName().split(SLASH);