updated libraries and plugins to latest versions

This commit is contained in:
jomu
2018-01-09 10:09:02 +00:00
parent efb22b1c46
commit 0c81703042
13 changed files with 121 additions and 102 deletions

View File

@ -46,7 +46,7 @@ public class GsonSerialisation {
System.out.println(jsonString);
System.out.println("*******");
Configuration cfg = new Configuration(Configuration.VERSION_2_3_24);
Configuration cfg = new Configuration(Configuration.VERSION_2_3_23);
cfg.setDirectoryForTemplateLoading(new File(System.getProperty("java.io.tmpdir")));
cfg.setDefaultEncoding("UTF-8");
Template template = cfg.getTemplate("users.ftlh");

View File

@ -111,7 +111,7 @@ public class PDFDocumentTest {
FileUtils.writeStringToFile(file, jsonString, "UTF-8");
// create pdf
Configuration cfg = new Configuration(Configuration.VERSION_2_3_24);
Configuration cfg = new Configuration(Configuration.VERSION_2_3_23);
cfg.setDirectoryForTemplateLoading(new File(System.getProperty("java.io.tmpdir")));
cfg.setDefaultEncoding("UTF-8");
cfg.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);