From cafb9d689f50a1ede04a6295b36515be60ceb8c0 Mon Sep 17 00:00:00 2001 From: Hoang Vu Huy Date: Thu, 19 Dec 2024 11:37:01 +0700 Subject: [PATCH] Handle feedback --- .../docfactory/BaseDocFactoryGenerateDocumentsIT.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc-factory-test/src_test/ch/ivyteam/ivy/addons/docfactory/BaseDocFactoryGenerateDocumentsIT.java b/doc-factory-test/src_test/ch/ivyteam/ivy/addons/docfactory/BaseDocFactoryGenerateDocumentsIT.java index 177340d4..1a5c2755 100644 --- a/doc-factory-test/src_test/ch/ivyteam/ivy/addons/docfactory/BaseDocFactoryGenerateDocumentsIT.java +++ b/doc-factory-test/src_test/ch/ivyteam/ivy/addons/docfactory/BaseDocFactoryGenerateDocumentsIT.java @@ -44,11 +44,12 @@ public class BaseDocFactoryGenerateDocumentsIT { private DocumentTemplate documentTemplate1, documentTemplate2, documentTemplate3; + @SuppressWarnings("deprecation") @BeforeEach public void setUp() throws Exception { - docFactory = BaseDocFactory.getInstance() - .withDocumentCreationOptions( - DocumentCreationOptions.getInstance().withPdfOptions(PdfOptions.getInstance().hasToKeepFormFieldsEditable(true))); + docFactory = BaseDocFactory.getInstance() + .withDocumentCreationOptions( + DocumentCreationOptions.getInstance().withPdfOptions(PdfOptions.getInstance().hasToKeepFormFieldsEditable(true))); Person person = makePerson(); documentTemplate1 = DocumentTemplate.withTemplate(TEMPLATE_1).putDataAsSourceForSimpleMailMerge(person)