Optimize BgpAttributeConditionsUtil 92/83192/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 19 Jul 2019 17:28:08 +0000 (19:28 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 22 Jul 2019 09:36:04 +0000 (09:36 +0000)
commitaeb8998f6f65ba19743e0abb023a3d0a5bdf91e6
treea3fc94a379d344fab6f06f03cae0ffbde8ea6108
parentfd9066695182d895ff5df2eaf0986c0cdf917311
Optimize BgpAttributeConditionsUtil

We can very slightly optimize dispatch in these utilities by
returning statements. Also rename a confusingly-named local
variable.

Change-Id: Ia68705e82a4830b92111494e32a9ffcfed2943e8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 249cb9fc0261e5687020ab51014a45d45d67c50c)
bgp/openconfig-rp-spi/src/main/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/spi/registry/BgpAttributeConditionsUtil.java