BUG-509: clean up comment
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)
commit974bc2c6337143f5785339f0d9ab3379d01c9aa2
treee9d02f8c02dddd7f95bea18ccfef83e669b7d1c8
parent57eb7421b137800e23c835cafb3b9fb98f6743c2
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