Skip to content

go back to using switch statements in schubfach code #853

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

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

pjfanning
Copy link
Member

When I ported over #852, I had compile warnings about some switch statements. I rewrote them using if statements.
In hindsight, I should have looked more closely - the warnings were about some specific features, the switch statements themselves are ok.

@cowtowncoder cowtowncoder merged commit 62f2b9d into FasterXML:2.15 Dec 1, 2022
@pjfanning pjfanning deleted the schubfach2 branch December 1, 2022 18:20
@cowtowncoder cowtowncoder added this to the 2.15.0 milestone Dec 1, 2022
@pjfanning
Copy link
Member Author

@cowtowncoder would it be worthwhile copying the om.fasterxml.jackson.core.io main and test code from v2.15 to v2.14 branch? The ThreadLocal changes are quite useful.

Since the code is not the default mode and the tests haven't changed (except that you reduced the iterations count to speed up the tests) - it seems pretty low risk.

@cowtowncoder
Copy link
Member

@pjfanning yes, +1 for that if you have time? I agree, sounds like low risk to me (not minimal but low enough).

@pjfanning
Copy link
Member Author

@cowtowncoder I added #854

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