Make deserializeNormalizedNode more obvious 03/42803/2
authorRobert Varga <rovarga@cisco.com>
Fri, 29 Jul 2016 19:41:17 +0000 (21:41 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Sat, 30 Jul 2016 09:11:48 +0000 (09:11 +0000)
commitb0b6c5a1e28fba052f4dabfd7b8ec73d3468c9d9
tree5add17830bc5a790faeb60f66646a29feffd3707
parent744080c6e16bd2ba675b7b526b900aa6ee68bb90
Make deserializeNormalizedNode more obvious

Performing a direct return makes the code flow
more obvious, notably the fact that a null node
may only be received in case of new serialization.

Change-Id: Ib10c23d5990ca4452914b7f81647fd67b84863d2
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/SerializationUtils.java