Skip to content

Commit

Permalink
Handle feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoang Vu Huy committed Dec 19, 2024
1 parent 24f2080 commit cafb9d6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cafb9d6

Please sign in to comment.