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

[Minor] Fix unpaired quote in message pattern #5100

Closed
wants to merge 1 commit into from

Conversation

bowenliang123
Copy link
Contributor

@bowenliang123 bowenliang123 commented Jul 27, 2023

Why are the changes needed?

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

@bowenliang123
Copy link
Contributor Author

PS: This issue is scanned and reported by Qodana on local IDEA 2023.2.

@bowenliang123 bowenliang123 marked this pull request as ready for review July 27, 2023 08:09
@pan3793
Copy link
Member

pan3793 commented Jul 27, 2023

The oracle docs you linked seem invalid.

@bowenliang123
Copy link
Contributor Author

The oracle docs you linked seem invalid.

Oops. Updated with a correct link.

@bowenliang123 bowenliang123 self-assigned this Jul 27, 2023
@bowenliang123 bowenliang123 added this to the v1.8.0 milestone Jul 27, 2023
@bowenliang123 bowenliang123 modified the milestones: v1.8.0, v1.7.2 Jul 27, 2023
bowenliang123 added a commit that referenced this pull request Jul 27, 2023
### _Why are the changes needed?_

- Remove the existing single quote in message format which causes the argument 0 is not used
- `A single quote itself must be represented by doubled single quotes '' throughout a String.` https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request

Closes #5100 from bowenliang123/datatype-msg.

Closes #5100

8135ff1 [liangbowen] fix

Authored-by: liangbowen <liangbowen@gf.com.cn>
Signed-off-by: liangbowen <liangbowen@gf.com.cn>
(cherry picked from commit 25e1a16)
Signed-off-by: liangbowen <liangbowen@gf.com.cn>
@bowenliang123
Copy link
Contributor Author

Thanks, merged to master(1.8.0) and 1.7.2.

@bowenliang123 bowenliang123 deleted the datatype-msg branch July 27, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants