Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix warning in StaticBinding #645

Merged
merged 1 commit into from
Jul 17, 2021
Merged

fix warning in StaticBinding #645

merged 1 commit into from
Jul 17, 2021

Conversation

xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Jul 17, 2021

Pull Request Checklist

Fixes

Fixes warning

Purpose

Background Context

[warn] /home/travis/build/playframework/play-json/play-json/js/src/main/scala/StaticBinding.scala:24:31: method newBuilder in object StringBuilder is deprecated (since 2.13.0): Use new StringBuilder() instead of StringBuilder.newBuilder
[warn] val acc = StringBuilder.newBuilder
[warn] ^

References

```
[warn] /home/travis/build/playframework/play-json/play-json/js/src/main/scala/StaticBinding.scala:24:31: method newBuilder in object StringBuilder is deprecated (since 2.13.0): Use `new StringBuilder()` instead of `StringBuilder.newBuilder`
[warn]       val acc = StringBuilder.newBuilder
[warn]                               ^
```
@mkurz mkurz merged commit 3e87a08 into playframework:main Jul 17, 2021
@xuwei-k xuwei-k deleted the patch-1 branch July 17, 2021 23:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants