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

Correction of minor warning(for databind.ser package) #4098

Merged
merged 4 commits into from
Aug 31, 2023

Conversation

k163377
Copy link
Contributor

@k163377 k163377 commented Aug 26, 2023

#4076 and similar.

@@ -617,9 +617,6 @@ protected Impl(SerializerProvider src, SerializationConfig config,
@Override
public DefaultSerializerProvider copy()
{
if (getClass() != Impl.class) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually necessary -- will revert this change; super impl will throw exception and the intent is to fail if sub-classing provider impl but not overriding copy() method.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohhhh. I see; Impl is final so it can never occur. Never mind. :)

@cowtowncoder
Copy link
Member

Ok, while I am not 100% sure of some changes (I like explicit code wrt unboxing) I guess it's fine; will merge.

@cowtowncoder cowtowncoder merged commit a4e1c33 into FasterXML:2.16 Aug 31, 2023
3 checks passed
@k163377 k163377 deleted the fix/ser-perf branch September 9, 2023 04:50
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