updated libraries and plugins to latest versions
This commit is contained in:
@ -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");
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user