Use ClassToInstanceMap for tables 09/86109/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 00:35:25 +0000 (01:35 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 00:35:25 +0000 (01:35 +0100)
commitade0bd7c0811d0121c87bf72d781c2cb7cad7ffc
tree98f3873d91c4d0ac7fa80836a0142851f95e70ba
parent1908a196ead6b4e3492896569641ea076742b3d1
Use ClassToInstanceMap for tables

This pattern makes it explicit to understand the mapping is
immutable and allows us to remove casts due to use of getInstance().

Change-Id: I6038adb8e4fcda16ab3cfd6c42cf175746130030
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepTableReader.java