Modernize ChoiceNodeCodecContext 71/106371/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 4 Jun 2023 18:59:58 +0000 (20:59 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 4 Jun 2023 18:59:58 +0000 (20:59 +0200)
commit7ed542bb9956aaab64599153c0d4eeea2e61eaf1
treeca1b5bf198aaaf9b671a9b51e1aac62bbc63c84c
parentb31cd4fe72338629c12c044dd82ef48ef612d9bb
Modernize ChoiceNodeCodecContext

We know that Choice's components can only be addressable by
NodeIdentifier, make sure we reflect in the byYangCaseChild Map.
Also use local variable type inference and a text block.

Change-Id: I7ac024b5791247685ecf05e9f77040919eec1219
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/ChoiceNodeCodecContext.java