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

Replace deprecated Guava method createTempDir #10313

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

joshthoward
Copy link
Member

@joshthoward joshthoward commented Dec 15, 2021

Fixes #6908.

Replace com.google.common.io.Files.createTempDir with java.nio.file.Files.createTempDirectory. The return value of the replacement methods is java.nio.Path instead of java.io.File. I've made minimal changes to account for this difference.

@cla-bot cla-bot bot added the cla-signed label Dec 15, 2021
@joshthoward joshthoward reopened this Dec 16, 2021
@joshthoward joshthoward force-pushed the jh/fix-guave-deprecation branch from dfaa474 to d7a1a23 Compare December 21, 2021 21:36
@joshthoward joshthoward reopened this Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Remove usages of deprecated Files.createTempDir
3 participants