Do no subclass HashMap 84/92684/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Sep 2020 07:33:43 +0000 (09:33 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Sep 2020 07:33:43 +0000 (09:33 +0200)
commit92487cb9543e0a87ca3e173419c27a99df91754a
tree571198dfa9e8b8bebe092a0f0914308683e4b552
parent079848a7dd1386928f05c63cc0fa356b6027b198
Do no subclass HashMap

Eclipse is correctly pointing out we are creating a serializable
subclass without assigning a version to it. Rather than doing that,
use a simple initializer through an intermediate map.

Change-Id: I83d5a05c138bf7ee664612daf81f721fe30435f7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
openflowjava/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/OpenflowDiagStatusProviderImpl.java