Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Dec 12, 2023
1 parent 930fd39 commit 8620d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/vertx/core/file/impl/FileCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ File cacheFile(String fileName, File resource, boolean overwrite) throws IOExcep
void cacheFile(String fileName, InputStream is, boolean overwrite) throws IOException {
File cacheFile = new File(getCacheDir(), fileName);
fileNameCheck(cacheFile);
boolean created = cacheFile.getParentFile().mkdirs();
cacheFile.getParentFile().mkdirs();
if (!overwrite) {
try {
Files.copy(is, cacheFile.toPath());
Expand Down

0 comments on commit 8620d31

Please sign in to comment.