Bug 3782: Fix NPE in API doc explorer
authorTom Pantelis <tpanteli@brocade.com>
Tue, 16 Jun 2015 21:15:51 +0000 (17:15 -0400)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 3 Jul 2015 13:09:05 +0000 (13:09 +0000)
commitc4c40e94cfeafd77ea8c962a81a780981c3d7a06
treefd89f6b891d17383254c69cdacdaf16932402f4a
parent28779eb85da8e6d4a8288050a0285258b906e478
Bug 3782: Fix NPE in API doc explorer

Fixed NPE when a netconf mounted device has a yang file without a version.

Change-Id: Ie562c05772ecd5e9c7d82afc31d06aaf852308a5
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
(cherry picked from commit d9cd9f52898f2705347fa9d6a30f054bdc751a98)
opendaylight/md-sal/sal-rest-docgen/src/main/java/org/opendaylight/controller/sal/rest/doc/impl/BaseYangSwaggerGenerator.java