-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Remove UniqueId.uniqueIdFormat field #5205
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
base: main
Are you sure you want to change the base?
Conversation
✅ All tests passed ✅🏷️ Commit: 94f1cd3 |
1f740da to
3a4a33c
Compare
The `UniqueIdFormat` is a singleton instance and not part of the public API, as such is effectively constant. Tracking the format in every `UniqueId` is unnecessary and makes the larger than it needs to be.
dbaf57b to
fa142fa
Compare
fa142fa to
94f1cd3
Compare
|
Open questions for team discussion:
|
We should not do so in a minor release. We could work around this by introducing custom |
Did you mean that as a workaround for the limitation of releasing this in a minor release and as a condition for a patch release, or as a work around for changing the serial version and as a condition for a minor release rather than a major release? Or can this go into the next minor release without custom methods? |
|
Sorry, there was a "not" missing in my first sentence. 🤦 |
The
UniqueIdFormatis a singleton instance and not part of the public API, as such is effectively constant. Tracking the format in everyUniqueIdis unnecessary and makes the larger than it needs to be.In 2016 in 0e5ab97 the
UniqueId.uniqueIdFormatwas added with the message:But at the time UniqueIdFormat was public and not a singleton.
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@APIannotations