Fix NPE on reading data 24/8424/5
authorMoiz Raja <moraja@cisco.com>
Fri, 27 Jun 2014 01:31:07 +0000 (18:31 -0700)
committerEd Warnicke <eaw@cisco.com>
Fri, 4 Jul 2014 20:26:33 +0000 (20:26 +0000)
commitdae79bb685addd04c5745bd056b147a47ec9773f
treef2317d904e253ad0abaa96185f0e3142374349c7
parent1af23ad8e572896323ed5d1c723d977a16eb7e6d
Fix NPE on reading data

When reading data if a null value is returned return Optional.absent();

Change-Id: I2d6a3a8001492c8c4c50a779b2770c72a9953494
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/TransactionProxyTest.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.