From 37497cb1eadf9fd5e0568f8f841b2e01f910d8fb Mon Sep 17 00:00:00 2001 From: r-ca Date: Tue, 9 Jan 2024 12:22:09 +0900 Subject: [PATCH] =?UTF-8?q?config=E3=81=AE=E6=9B=B8=E3=81=8D=E8=BE=BC?= =?UTF-8?q?=E3=81=BF=E3=82=92=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/one/nem/lacerta/source/file/FileManager.java | 2 +- .../one/nem/lacerta/source/file/impl/FileManagerImpl.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/src/main/java/one/nem/lacerta/source/file/FileManager.java b/source/src/main/java/one/nem/lacerta/source/file/FileManager.java index 473cbde1..c6aed97e 100644 --- a/source/src/main/java/one/nem/lacerta/source/file/FileManager.java +++ b/source/src/main/java/one/nem/lacerta/source/file/FileManager.java @@ -22,7 +22,7 @@ public interface FileManager { Document readXml(); // Configure - FileManager enableAutoCreate(); + FileManager enableAutoCreateParent(); FileManager disableRootDirCheck(); FileManager setRootDir(Path rootDir); diff --git a/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java b/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java index 0b0a0f47..5e01f3ae 100644 --- a/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java +++ b/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java @@ -32,7 +32,7 @@ public class FileManagerImpl implements FileManager { // variables private Path rootDir; private Path path; - private boolean autoCreate = false; + private boolean autoCreateParent = false; private boolean disableRootDirCheck = false; @@ -101,8 +101,8 @@ public class FileManagerImpl implements FileManager { } @Override - public FileManager enableAutoCreate() { - this.autoCreate = true; + public FileManager enableAutoCreateParent() { + this.autoCreateParent = true; return this; }