Modernize ChoiceModificationStrategy 44/106444/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 12 Jun 2023 12:42:20 +0000 (14:42 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 12 Jun 2023 12:42:20 +0000 (14:42 +0200)
commitf5f9fecff0f317e74f2c25cb5a74c281df8b62df
tree0062add1c1a2ab8cd431c5452272a0958c7c00b3
parentd0af7ed8a60d8eb5d2c07f5f564befce0ae14c7b
Modernize ChoiceModificationStrategy

Use local variable type inference to simplify declarations/imports. Also
use streams and ImmutableList.toImmutableList() to create exclusions.

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