Skip to content

fixes: #362 Locale problem with JsonbNumberFormat - #363

Merged
njr-11 merged 2 commits into
jakartaee:masterfrom
struberg:fix362
Jan 8, 2025
Merged

njr-11 merged 2 commits into
jakartaee:masterfrom
struberg:fix362

Conversation

@struberg

Copy link
Copy Markdown
Contributor

No description provided.

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.Locale;

This comment was marked as resolved.

@njr-11 njr-11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think you also need a 2024 copyright on this file.

* <li> package </li>
* </ul>
*
* <p>Note that even when specifying a pattern format your JSON is depending on the Locale of the JVM you run on.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This sentence is difficult to understand without punctuation to identify which of the different parts go together and which don't. Here is one suggestion to clarify it while leaving it mostly as written,

Suggested change
* <p>Note that even when specifying a pattern format your JSON is depending on the Locale of the JVM you run on.
* <p>Note that even when specifying a pattern, the format of the JSON value depends on the Locale of the JVM by default.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

txs for the review and suggestion!

@struberg

Copy link
Copy Markdown
Contributor Author

will update, txs for the feedback!

improvements in wording, copyright updated and unnecessary import removed.
@struberg
struberg requested a review from njr-11 October 29, 2024 16:33
@Verdent Verdent linked an issue Nov 13, 2024 that may be closed by this pull request
@mkarg

mkarg commented Dec 23, 2024

Copy link
Copy Markdown
Contributor

@jakartaee/ee4j-jsonb-project-leads This PR was approved by two committers weeks many weeks ago, so I wonder why not merging it?

@njr-11

njr-11 commented Jan 8, 2025

Copy link
Copy Markdown
Member

@jakartaee/ee4j-jsonb-project-leads This PR was approved by two committers weeks many weeks ago, so I wonder why not merging it?

I'll do that now. It looks like it was only a documentation improvement, so should not be too controversial.

@njr-11
njr-11 merged commit b41c3b7 into jakartaee:master Jan 8, 2025
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.

clarify that @JsonbNumberFormat is depending on the Locale

5 participants