From ff905d9280037052082bc2cb1dd53635786041c4 Mon Sep 17 00:00:00 2001 From: r-ca Date: Tue, 9 Jan 2024 17:23:08 +0900 Subject: [PATCH] =?UTF-8?q?index=E5=BB=83=E6=AD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/utils/src/main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java b/utils/src/main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java index efc6b1b3..7874a0b9 100644 --- a/utils/src/main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java +++ b/utils/src/main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java @@ -41,7 +41,6 @@ public class XmlMetaParserImpl implements XmlMetaParser{ for(int i = 0; i < rootElement.getElementsByTagName("pages").getLength(); i++) { Element pageElement = (Element) rootElement.getElementsByTagName("page").item(i); XmlMetaPageModel page = new XmlMetaPageModel(); - page.setIndex(Integer.parseInt(pageElement.getElementsByTagName("index").item(0).getTextContent())); page.setFilename(pageElement.getElementsByTagName("filename").item(0).getTextContent()); pages.add(page); } @@ -73,7 +72,6 @@ public class XmlMetaParserImpl implements XmlMetaParser{ Element pagesElement = document.createElement("pages"); for(XmlMetaPageModel page : meta.getPages()) { Element pageElement = document.createElement("page"); - appendElement(document, pageElement, "index", String.valueOf(page.getIndex())); appendElement(document, pageElement, "filename", page.getFilename()); pagesElement.appendChild(pageElement); }