Skip to content

Commit

Permalink
fixing build..sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed May 20, 2014
1 parent f37472f commit c9e4e5a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -401,12 +401,12 @@ public void test001CreateReport() throws Exception {

// ReportTemplateType reportTemplate = new ReportTemplateType();
// reportTemplate.setAny(DOMUtil.parseDocument(template).getDocumentElement());
reportType.setTemplate(new XmlAsStringType(template));
reportType.setTemplate(template.getBytes());

String templateStyle = FileUtils.readFileToString(STYLE_TEMPLATE_DEFAULT, "UTF-8"); //readFile(STYLE_TEMPLATE_DEFAULT, StandardCharsets.UTF_8);
// ReportTemplateStyleType reportTemplateStyle = new ReportTemplateStyleType();
// reportTemplateStyle.setAny(DOMUtil.parseDocument(templateStyle).getDocumentElement());
reportType.setTemplateStyle(new XmlAsStringType(templateStyle));
reportType.setTemplateStyle(templateStyle.getBytes());
/*
String config_schema = FileUtils.readFileToString(REPORT_DATASOURCE_TEST, "UTF-8");
Expand Down

0 comments on commit c9e4e5a

Please sign in to comment.