findModule method refactoring 79/9279/10
authorJozef Gloncak <jgloncak@cisco.com>
Thu, 24 Jul 2014 09:06:09 +0000 (11:06 +0200)
committerJozef Gloncak <jgloncak@cisco.com>
Mon, 12 Jan 2015 06:59:19 +0000 (07:59 +0100)
commitdcb4a42bdbbbf88c528a0ef0f5a78d69eee329a2
tree266286ca33442d599be6c5c09580b0de90bad035
parentb30a2df0721908317c9b4770972b5647dfafd3c7
findModule method refactoring

From method findModule() of RestconfImpl was removed original exception
because the case when data == null can't (before every call of findModule
is checked whether data != null)

New exception was added because just after calling of findModule() method
was always checked whether returning value is != null and if it was so the
exception was raised.

Change-Id: I7023ab50e06e6056bc312a2a702bac8bab48ef0a
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/RestconfImpl.java