Return a List from YIID Deserializer 46/97746/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 5 Oct 2021 11:02:46 +0000 (13:02 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 5 Oct 2021 11:02:46 +0000 (13:02 +0200)
commit03698006057d590da609952ac5a01ffb7114c320
tree8b6ab49cf7d120854f3240a6fae073d629424e2d
parent04b1c8a12ddcb407ad94dab5e82a03556ea63398
Return a List from YIID Deserializer

Hiding behind an interable is not useful, expose the List. This allows
us to perform major cleanups in the corresponding test, which has also
improved assertions now.

Change-Id: Ie7100a3d4ab7e0824af7b4cf06b42e483ab9a295
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierDeserializer.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierDeserializerTest.java