From 8ca642c7f4f0d50a1c5610308e02fe056108f910 Mon Sep 17 00:00:00 2001 From: r-ca Date: Tue, 9 Jan 2024 12:46:20 +0900 Subject: [PATCH] =?UTF-8?q?getFileRef=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/source/file/impl/FileManagerImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 81e0cd76..1e8c72d1 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 @@ -68,7 +68,11 @@ public class FileManagerImpl implements FileManager { @Override public File getFileRef() { - return null; + if (this.isExist()) { + return this.path.toFile(); + } else { + return null; + } } @Override