Use a switch expression FrontendReadOnlyTransaction 18/114218/4
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 27 Oct 2024 16:50:01 +0000 (17:50 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 27 Oct 2024 19:44:50 +0000 (20:44 +0100)
commitc6f1b36682d1c5e82ed0968014563cdc62a28f24
tree1e8b742ccc7e894c3792f0201929c3c776b6674e
parent13e7e01a0bb79dd8d93b73c101d6436d26317c65
Use a switch expression FrontendReadOnlyTransaction

We have an if/else instanceof dispatch: use a switch expression instead.

Change-Id: I9ea5dca347ce807034b02d0e2c9f40e47ef82405
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/FrontendReadOnlyTransaction.java