BUG-509: clean up comment 92/5992/2
authorRobert Varga <rovarga@cisco.com>
Wed, 9 Apr 2014 03:48:36 +0000 (05:48 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Wed, 9 Apr 2014 11:01:31 +0000 (11:01 +0000)
commitcf1bc562f10296aa8f16473bac6688b5e8727182
treed1077bc112adf4d02c9bf0678ac8cbebd547e743
parentf2439a364be2129ab6d50eb15ad2df1a0ecac21f
BUG-509: clean up comment

This cleans up a comment why subtracting 1 from nesting is safe. It also
adds a Preconditions.checkState() to explicitly guard on the
expectation.

Change-Id: Ia0b755d723d399b99fec98398afabba1222b97b3
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/tree/TreeNodeUtils.java