Closed tmtron closed 7 years ago
Please don't merge this pull request yet. I just realized that there are some problems which were not covered by the test-cases:
The add(varargs)
methods use a HashSet
internally, and thus will ignore duplicates and change the order, which is not okay for sequential types: e.g. Array, etc
I'll fix that soon.
'Lo.
Nice work. One small thing: I think the LinkedHashSet
change is wrong: It's still using a plain HashSet
to receive the varargs, unless I'm mistaken.
Looks good to me. Thanks again!
Did you forget to merge the pull-request when closing?
I cannot see these changes in the develop branch yet: e.g. VavrArrayEncoding.java does not have addVarArgs
Strange, I'm pretty sure I merged it. I'll re-open and try merging again (merging an already-merged change should either result in an error or a no-op).
That's better.
Great - thanks.
Builder.add with VarArgs #13