Make UnsignedLongSet.Entry immutable 93/98393/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 10 Nov 2021 19:44:05 +0000 (20:44 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 10 Nov 2021 20:46:25 +0000 (21:46 +0100)
commit245165804cb8c11340fa5b225e5cccbe32c01337
tree7f994d26aa743d403b64bfaaf6b0cc533a7ec9ab
parent1a13d6e1410df52e3b8fd9d4fe6b6e7b04490e4a
Make UnsignedLongSet.Entry immutable

Having entries mutable is just a drag when transferring them to
mutable, as we need to perform deep copies. Let's turn them into
immutables and be done with it.

JIRA: CONTROLLER-2015
Change-Id: I3be807cbdf71a51e6b9506e0932857a230924986
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/ImmutableUnsignedLongSet.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/MutableUnsignedLongSet.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/UnsignedLongSet.java