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

Rename AnnotationIntrospector.findDefaultCreator() as findPreferredCreator() #4818

Closed
cowtowncoder opened this issue Dec 1, 2024 · 0 comments
Labels
3.0 Issue planned for initial 3.0 release

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Dec 1, 2024

Naming of this method -- added in Jackson 2.18.0 -- was unfortunate since concept of "default constructor" existed and referred to the 0-argument constructors.
So let's rename it in Jackson 3.0 as "findPreferredCreator".
(note: alternative considered, "findPrimaryCreator()").

Intent is to more clearly indicate expected usage of (possibly) selected creator method.

@cowtowncoder cowtowncoder added to-evaluate Issue that has been received but not yet evaluated 3.0 Issue planned for initial 3.0 release and removed to-evaluate Issue that has been received but not yet evaluated labels Dec 1, 2024
cowtowncoder added a commit that referenced this issue Dec 1, 2024
cowtowncoder added a commit that referenced this issue Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 Issue planned for initial 3.0 release
Projects
None yet
Development

No branches or pull requests

1 participant