From 89f55177f465e779e1c15b7baa4fbd73eeef200e Mon Sep 17 00:00:00 2001 From: Gian Mario Contessa Date: Sat, 30 Mar 2019 10:06:50 +0000 Subject: [PATCH] BAEL-617: renaming reports --- .../reports/{sample.rptdesign => simple_static.rptdesign} | 0 .../{new_report.rptdesign => static_data_report.rptdesign} | 0 .../java/com/baeldung/birt/designer/ReportDesignHelper.java | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename spring-boot-mvc-birt/reports/{sample.rptdesign => simple_static.rptdesign} (100%) rename spring-boot-mvc-birt/reports/{new_report.rptdesign => static_data_report.rptdesign} (100%) diff --git a/spring-boot-mvc-birt/reports/sample.rptdesign b/spring-boot-mvc-birt/reports/simple_static.rptdesign similarity index 100% rename from spring-boot-mvc-birt/reports/sample.rptdesign rename to spring-boot-mvc-birt/reports/simple_static.rptdesign diff --git a/spring-boot-mvc-birt/reports/new_report.rptdesign b/spring-boot-mvc-birt/reports/static_data_report.rptdesign similarity index 100% rename from spring-boot-mvc-birt/reports/new_report.rptdesign rename to spring-boot-mvc-birt/reports/static_data_report.rptdesign diff --git a/spring-boot-mvc-birt/src/main/java/com/baeldung/birt/designer/ReportDesignHelper.java b/spring-boot-mvc-birt/src/main/java/com/baeldung/birt/designer/ReportDesignHelper.java index f10e64c569..3f9df78de1 100644 --- a/spring-boot-mvc-birt/src/main/java/com/baeldung/birt/designer/ReportDesignHelper.java +++ b/spring-boot-mvc-birt/src/main/java/com/baeldung/birt/designer/ReportDesignHelper.java @@ -96,7 +96,7 @@ public class ReportDesignHelper implements CommandLineRunner { File report = new File(REPORTS_FOLDER); report.mkdirs(); - design.saveAs(new File(report, "sample.rptdesign").getAbsolutePath()); + design.saveAs(new File(report, "simple_static.rptdesign").getAbsolutePath()); design.close(); log.info("Report generated"); }