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); }