Skip to content
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

Ensure comparators in sorted associations are serializable #1444

Open
TimLethbridge opened this Issue Mar 25, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@TimLethbridge
Copy link
Member

TimLethbridge commented Mar 25, 2019

From end-user Gunter Mussbacher: have recently discovered the "sorted" keyword in Umple. it's quite handy. however, there is an issue. in my course, we are using the Serializable interface to persist the application to a file.

This works quite well, but the Comparator used by the "sorted" keyword does not implement the Serializable interface. therefore, we have to change the generated code and make the instance variable using the Comparator transient. it would be great if the Comparator could implement the Serializable interface by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.