Returning an empty Set from getValue() means that if we ever
encountered two instances of this class in comparison, their values
would fail to compare, as valueEquals() expects a List.
Fix this by returning ImmutableList.of() and codify that in the
return value.
Change-Id: I4301f4161648ea391f2e0a1e712e3f87c6dca33c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
}
@Override
- public Collection<UnkeyedListEntryNode> getValue() {
- return Collections.emptySet();
+ public ImmutableList<UnkeyedListEntryNode> getValue() {
+ return ImmutableList.of();
}
@Override