Skip to content

Replace deprecated Guava method createTempDir#10313

Merged
martint merged 1 commit intotrinodb:masterfrom
joshthoward:jh/fix-guave-deprecation
Jan 19, 2022
Merged

Replace deprecated Guava method createTempDir#10313
martint merged 1 commit intotrinodb:masterfrom
joshthoward:jh/fix-guave-deprecation

Conversation

@joshthoward
Copy link
Copy Markdown
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