From 022e7e278a2f0adfbd26f5e683db3b6584077e7a Mon Sep 17 00:00:00 2001 From: r-ca Date: Tue, 9 Jan 2024 13:51:19 +0900 Subject: [PATCH] fix --- .../src/main/java/one/nem/lacerta/source/file/FileManager.java | 2 +- .../java/one/nem/lacerta/source/file/impl/FileManagerImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 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 75eba626..deee58e7 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 @@ -16,7 +16,7 @@ public interface FileManager { File getFileRef(); boolean isExist(String name) throws IOException; - boolean isExist() throws IOException; + boolean isExist(); boolean isDirectory(); boolean isFile(); boolean isWritable(); 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 aad29ce1..01c32484 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 @@ -77,7 +77,7 @@ public class FileManagerImpl implements FileManager { } @Override - public boolean isExist() throws IOException { + public boolean isExist(){ return Files.exists(this.path); }