Skip to content

refactor switch statements (all in test code)#6088

Merged
cowtowncoder merged 2 commits into
FasterXML:3.xfrom
pjfanning:refactor-switch
Jul 10, 2026
Merged

refactor switch statements (all in test code)#6088
cowtowncoder merged 2 commits into
FasterXML:3.xfrom
pjfanning:refactor-switch

Conversation

@pjfanning

Copy link
Copy Markdown
Member

Java has a newer switch statement that supports a more functional style.
All of these updates are coincidentally in test code.
My IDE suggested if statements in a few cases where it thought that switch was too verbose.

@github-actions

Copy link
Copy Markdown

🧪 Code Coverage Report

Metric Coverage Change
Instructions coverage 81.71% 📈 +0.000%
Branches branches 75.21% 📉 -0.020%

Coverage data generated from JaCoCo test results

@github-actions

Copy link
Copy Markdown

🧪 Code Coverage Report

Metric Coverage Change
Instructions coverage 81.71% 📈 +0.000%
Branches branches 75.22% 📉 -0.010%

Coverage data generated from JaCoCo test results

@cowtowncoder cowtowncoder merged commit 2766255 into FasterXML:3.x Jul 10, 2026
6 checks passed
@pjfanning pjfanning deleted the refactor-switch branch July 10, 2026 16:54
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