Use ImmutableLists in AbstractPrependAsPath 91/102191/3
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 20 Aug 2022 21:25:21 +0000 (23:25 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 20 Aug 2022 22:29:03 +0000 (00:29 +0200)
commit4a9191b114ba0e95b4131d55ac7ccabbe918cffe
tree869f36cfa624b8f3eb8aafd0db9338623ded4780
parent9b7dcf6fb97a11aad2934f20e7ce3605f179457e
Use ImmutableLists in AbstractPrependAsPath

ImmutableList.Builder allow for fluent building and does not allow the
result to be modified. Use it instead of an an ArrayList.

Change-Id: I3ca9b4c0b206ac9521efbe62c21f8df7f65cac06
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/openconfig-rp-statement/src/main/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/actions/AbstractPrependAsPath.java