Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make UnsignedLongSet.Entry immutable
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
utils
/
ImmutableUnsignedLongSet.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/ImmutableUnsignedLongSet.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/ImmutableUnsignedLongSet.java
index af49065e00e8192693df1036600623ee2573d5c9..47b8a8b01552dc3fee3c7ad34a2fd5783b395e03 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/ImmutableUnsignedLongSet.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/ImmutableUnsignedLongSet.java
@@
-36,9
+36,9
@@
public final class ImmutableUnsignedLongSet extends UnsignedLongSet implements I
return of();
}
if (mutable.size() <= ARRAY_MAX_ELEMENTS) {
return of();
}
if (mutable.size() <= ARRAY_MAX_ELEMENTS) {
- return new ImmutableUnsignedLongSet(ImmutableSortedSet.copyOf
(mutable.copi
edRanges()));
+ return new ImmutableUnsignedLongSet(ImmutableSortedSet.copyOf
Sorted(mutable.trust
edRanges()));
}
}
- return new ImmutableUnsignedLongSet(new TreeSet<>(mutable.
copi
edRanges()));
+ return new ImmutableUnsignedLongSet(new TreeSet<>(mutable.
trust
edRanges()));
}
public static @NonNull ImmutableUnsignedLongSet of() {
}
public static @NonNull ImmutableUnsignedLongSet of() {