Skip to content

Commit

Permalink
clean: remove FileUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
Siroshun09 committed Oct 30, 2024
1 parent 0a42913 commit ccfc7bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 80 deletions.
78 changes: 0 additions & 78 deletions core/src/main/java/dev/siroshun/configapi/core/util/FileUtils.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ public static void copyFromJarIfNotExists(@NotNull Path jarPath,
private static void copy(@NotNull IOSupplier<InputStream> inputSupplier, @NotNull Path target) throws IOException {
var parent = target.getParent();

if (parent != null) {
FileUtils.createDirectoriesIfNotExists(parent);
if (parent != null && !Files.isDirectory(parent)) {
Files.createDirectories(parent);
}

try (var input = inputSupplier.get()) {
Expand Down

0 comments on commit ccfc7bb

Please sign in to comment.