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

CompactFormatter precision and surrogate pairs #528 #543

Merged
merged 2 commits into from
Apr 7, 2021

Conversation

jmehrens
Copy link
Contributor

This is a fix for #528.

The code coverage has been improved. The CompactFormatter is at 99.0% and the test is at 97.7%.
Test was modified to clean up some of the SpotBugs warnings.

When this is approved I'll backport the changed to 1.x.

Signed-off-by: jmehrens <jason_mehrens@hotmail.com>
@jmehrens jmehrens requested a review from lukasj March 27, 2021 16:02
if (v != null) {
result = s.toString().replace(s.getClassName(), v);
} else {
result = s.toString();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI this is dead code caught by code coverage. It seems from the API docs that StackTraceElement::getClassName is non null. Other parts of the code already treat it as non-null.

doc/release/CHANGES.txt Outdated Show resolved Hide resolved
Copy link
Contributor

@lukasj lukasj left a comment

Choose a reason for hiding this comment

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

LGTM. I don't want to merge this before 2.0.1 gets approved and out, so will do that once that happens (I have no impact on the approval itself, I can only wait).

Wrt backport to v1.x - I plan to release 1.6.7 early next week to fix awful bug there, so if you have something else you want to have there, just create PR for it. Thanks!

Signed-off-by: jmehrens <jason_mehrens@hotmail.com>
@lukasj lukasj merged commit 9fd37ac into jakartaee:master Apr 7, 2021
bvfalcon pushed a commit to bvfalcon/jakarta-mail that referenced this pull request Aug 8, 2022
…ee#543)

Signed-off-by: jmehrens <jason_mehrens@hotmail.com>
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.

None yet

2 participants