Access usingBundles only once 45/110445/3
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 3 Mar 2024 06:43:41 +0000 (07:43 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 3 Mar 2024 07:07:45 +0000 (08:07 +0100)
commitc82452804c782676af3d3cec7c11e4f79dd6bdbd
tree10f54819071e9d3ab6816407fb31ec46ced6b48b
parenta1b692d55c75d626ce44196ee58672c39dd1ca86
Access usingBundles only once

Cache the result of getUsingBundles() in a local variable, so we do not
access it twice.

JIRA: ODLPARENT-262
Change-Id: I895b5090783a018e5bbcb7adba0ac5cc672cf600
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/TestProbe.java