Clean up checkSealed() 97/107697/5
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Sep 2023 21:00:34 +0000 (23:00 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Sep 2023 21:51:12 +0000 (23:51 +0200)
commitd62bf8450405d2487e0ab1b8bff63f50fcb9b991
treead16148637270ba34eabddc01b2b54ccd88a66e9
parenta115f79e3818c774d7fc932426d9ef2b65fcae4f
Clean up checkSealed()

This method is mis-named, it should be called checkOpen(). Also use
an explicit if/throw to eliminate a negation.

Change-Id: Ia7baa03708711b8076ffdd512fbccacd906e3ffb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-tree-ri/src/main/java/org/opendaylight/yangtools/yang/data/tree/impl/InMemoryDataTreeModification.java