Skip to content

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

Description

@cowtowncoder

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.0Issue planned for initial 3.0 release3.0-release-notesIssues relevant for 3.0 release notes.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions