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

Use char-append instead of String-append #3174

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

rPraml
Copy link
Contributor

@rPraml rPraml commented Aug 21, 2023

Follow up to comment e821d66#r125023217

I've replaced all 1-char string appends by a char append.

Did this by
regexp search & replace: \.append\("([^'])\"\) -> .append('$1') (all, expect "'")
normal search & replace: .append("'") -> .append('\'')
normal search & replace: .append("\"") -> .append('"')
regexp search & replace: \.append\("(\\.)\"\) -> .append('$1') (all escaped, like \n, \t ...)

Then I reverted some false positives (e.g. writer.append) and ran the tests

@rbygrave rbygrave added this to the 13.22.0 milestone Aug 21, 2023
@rbygrave rbygrave merged commit e09265f into ebean-orm:master Aug 21, 2023
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