bug 433 NPE in onGlobalContextUpdated of ControllerContext class 12/5412/1
authorJozef Gloncak <jgloncak@cisco.com>
Wed, 19 Feb 2014 12:32:51 +0000 (13:32 +0100)
committerJozef Gloncak <jgloncak@cisco.com>
Wed, 19 Feb 2014 12:38:38 +0000 (13:38 +0100)
commitda0c60451f87b04b2f3b9c213b54edfb4ce94c9f
tree518b10cc9e5d07e5850dc3c3fe0e54ebef083004
parent3738c39ec76d2b256682e0b7addaec433f9b887f
bug 433 NPE in onGlobalContextUpdated of ControllerContext class

Input parameter of type SchemaContext of method onGlobalContextUpdated is
now checked if is different from null to be able to call getOperations method.
In addition clearing of map of rpcs was added.

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