From 8587c6a70781f3a7be276c29e6a8ea278b0a5800 Mon Sep 17 00:00:00 2001 From: r-ca Date: Tue, 9 Jan 2024 12:42:16 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AA=E3=83=95=E3=82=A1=E3=82=AF=E3=82=BF?= =?UTF-8?q?=E3=83=AA=E3=83=B3=E3=82=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/source/file/impl/FileManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 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 da908b49..849d69e2 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 @@ -216,7 +216,7 @@ public class FileManagerImpl implements FileManager { try { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); - return builder.parse(Files.newInputStream(this.path.toFile().toPath())); + return builder.parse(Files.newInputStream(this.path)); } catch (Exception e) { logger.error("loadXmlInternal", e.getMessage()); throw new IOException("Failed to load xml");