From: Omar Sweidan Date: Tue, 7 Jun 2022 13:55:34 +0000 (+0200) Subject: Hibás fv.név javítása X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=3a035bf8004acf36fa1e32a2345854eb11200bcc;p=mediacube.git Hibás fv.név javítása --- diff --git a/server/user.jobengine.executors/src/user/jobengine/server/steps/shared/EscortFiles.java b/server/user.jobengine.executors/src/user/jobengine/server/steps/shared/EscortFiles.java index 673cc5e6..bc673f95 100644 --- a/server/user.jobengine.executors/src/user/jobengine/server/steps/shared/EscortFiles.java +++ b/server/user.jobengine.executors/src/user/jobengine/server/steps/shared/EscortFiles.java @@ -156,7 +156,7 @@ public class EscortFiles { root.appendChild(xmlDocument.createElement(RECORDTIMESTAMP)).appendChild(xmlDocument.createTextNode(df.format(recorded))); xmlDocument.appendChild(root); - return xmDocumentToString(xmlDocument); + return xmlDocumentToString(xmlDocument); } public static byte[] createNEXIOKillDateFile(String fileName, Date killDate, String description, String agency) throws Exception { @@ -178,7 +178,7 @@ public class EscortFiles { root.appendChild(xmlDocument.createElement(EXTENDEDAGENCY)).appendChild(xmlDocument.createTextNode(agency)); xmlDocument.appendChild(root); - return xmDocumentToString(xmlDocument); + return xmlDocumentToString(xmlDocument); } public static Document createNEXIOMeta(byte[] content) throws Exception { @@ -359,7 +359,7 @@ public class EscortFiles { } } - private static byte[] xmDocumentToString(Document xmlDocument) + private static byte[] xmlDocumentToString(Document xmlDocument) throws TransformerFactoryConfigurationError, TransformerConfigurationException, TransformerException, IOException, UnsupportedEncodingException { DOMSource domSource = new DOMSource(xmlDocument); TransformerFactory tf = TransformerFactory.newInstance();