Improve FrontendReadWriteTransaction.doHandleRequest() 40/114040/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2024 19:10:39 +0000 (21:10 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 17 Oct 2024 11:33:00 +0000 (13:33 +0200)
commit65f416faae6df2e568556ebe8219be0588452312
tree298766dfa07941de9cb16df13567266d13618433
parent17d3822d3ab93aceb27c0e8d92c1367304c888aa
Improve FrontendReadWriteTransaction.doHandleRequest()

Use a switch expression to dispatch on message types, improving code
density and safety.

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