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

fix warnings #11749

Merged
merged 1 commit into from Apr 7, 2023
Merged

fix warnings #11749

merged 1 commit into from Apr 7, 2023

Conversation

xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Apr 6, 2023

Pull Request Checklist

Helpful things

Fixes

Fix warings

Purpose

Background Context

[warn] /home/runner/work/playframework/playframework/testkit/play-test/src/test/java/play/test/HelpersTest.java:152:1: unchecked conversion
[warn]   required: java.util.Map<java.lang.String,java.lang.String[]>
[warn]   found:    java.util.HashMap
[warn] new java.util.HashMap()

https://github.com/google/guava/blob/4d2b6ffb312a4ebf8aa377982fc98a7ece0bc3fd/android/guava/src/com/google/common/io/Files.java#L428-L429

[warn] /home/runner/work/playframework/playframework/transport/server/play-server/src/test/scala/play/core/server/ProdServerStartSpec.scala:93:23: method createTempDir in class Files is deprecated
[warn]     val temp = GFiles.createTempDir()
[warn]                       ^

References

@mkurz mkurz merged commit 36e17e5 into playframework:main Apr 7, 2023
28 checks passed
@xuwei-k xuwei-k deleted the fix-warn branch April 7, 2023 09:53
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