-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
model: Eliminate sorted collections #6235
Comments
copied hint from @sschuberth :
|
FYI, I'm working on a new proposal that uses Jackson converters to turn sets into sorted sets on serialization only. There are a few option questions about some technical details that could be discussed in an upcoming draft PR. |
See #6244.
Or maybe we can discuss the options in our Monday meeting. |
See #6235 for context. Signed-off-by: Sebastian Schuberth <[email protected]>
See #6235 for context. Here, the use of `StringSortedSetConverter` is not required, as `ImportCopyrightGarbageCommand` is the only place that serializes the class, and that uses its own `Collator` for custom sorting. Signed-off-by: Sebastian Schuberth <[email protected]>
See #6235 for context. Here, the use of `StringSortedSetConverter` is not required, as `ImportCopyrightGarbageCommand` is the only place that serializes the class, and that uses its own `Collator` for custom sorting. Signed-off-by: Sebastian Schuberth <[email protected]>
The use of sorted collections has been introduced with the goal of having entries serialized in some sorted order.
This approach has the pitfall that it requires
It may be possible to arrive at the original goal without implementing Comparable interface / using sorted collection.
A concrete solution is not yet known but options need to be investigated / evaluated first.
The text was updated successfully, but these errors were encountered: