From f9b10170b776905e1bf8a660af035b730fc30e1b Mon Sep 17 00:00:00 2001 From: adongare Date: Tue, 12 Mar 2024 12:03:56 -0400 Subject: [PATCH 1/2] MAT-6911 debug file path issue --- .../java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java b/src/main/java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java index 2e33a2f..219b136 100644 --- a/src/main/java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java +++ b/src/main/java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java @@ -1,6 +1,7 @@ package gov.cms.madie.hqmf; import java.io.File; +import java.io.InputStream; import java.net.URISyntaxException; import java.net.URL; @@ -14,7 +15,7 @@ public class QDMTemplateProcessorFactory { public static XmlProcessor getTemplateProcessor(double qdmVersion) { - String fileName = "templates/hqmf/qdm_v5_6_datatype_templates.xml"; + String fileName = "templates"+ File.separator + "hqmf" + File.separator + "qdm_v5_6_datatype_templates.xml"; URL templateFileUrl = QDMTemplateProcessorFactory.class.getClassLoader().getResource(fileName); File templateFile = null; From 8ec1048c8459cde38dcc76fd1ad150af8ea91e34 Mon Sep 17 00:00:00 2001 From: adongare Date: Tue, 12 Mar 2024 12:04:48 -0400 Subject: [PATCH 2/2] MAT-6911 remove unused import --- .../java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java b/src/main/java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java index 219b136..cf56869 100644 --- a/src/main/java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java +++ b/src/main/java/gov/cms/madie/hqmf/QDMTemplateProcessorFactory.java @@ -1,7 +1,6 @@ package gov.cms.madie.hqmf; import java.io.File; -import java.io.InputStream; import java.net.URISyntaxException; import java.net.URL;