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

Remove meaningless checks and properties in KNAI. #542

Merged
merged 3 commits into from
Jun 23, 2024

Conversation

k163377
Copy link
Contributor

@k163377 k163377 commented Jan 15, 2022

The hasCreatorAnnotation was checking if the declaringClass was included in the ignoredClassesForImplyingJsonCreator.
On the other hand, since ignoredClassesForImplyingJsonCreator was always the emptySet, this check would always return false.
(Since KotlinNameAnnotationIntrospector is an internal class, it is not initialized with any external arguments.)

This PR removes meaningless checks and removes ignoredClassesForImplyingJsonCreator.

However, it seems to me that this property should be set via KotlinFeature.
Do you have any background on this?

@k163377 k163377 changed the base branch from 2.14 to 2.13 January 15, 2022 05:51
k163377 added a commit to ProjectMapK/jackson-module-kogera that referenced this pull request Jan 11, 2023
@cowtowncoder
Copy link
Member

Should this be closed? It's against 2.13, version that is no longer maintained.

@k163377 k163377 changed the base branch from 2.13 to 2.18 June 23, 2024 11:51
@k163377 k163377 closed this Jun 23, 2024
@k163377 k163377 reopened this Jun 23, 2024
@k163377
Copy link
Contributor Author

k163377 commented Jun 23, 2024

I was unsure of the intent of this process, but since I am sure it is useless at this point, I will merge the deletion.

@k163377 k163377 merged commit 863a552 into FasterXML:2.18 Jun 23, 2024
15 checks passed
@k163377 k163377 deleted the remove_ignoredClasses branch June 23, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants