Skip to content

Commit

Permalink
code cleanup. issue #37
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Oct 10, 2024
1 parent bdb9da3 commit ea8c956
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1666,11 +1666,11 @@ public static java.util.List<String> getPlaceHolders(String file, List<String> a
} else if (file.toLowerCase().endsWith(EXT_DOCX)) {

HashMap<Integer, CTR> tfCache = new HashMap<>();
return new ArrayList(MicrosoftOfficeAccess.getPlaceHolders(file, allPartyTypesPlaceHolders, formsPlaceHolders, tfCache));
return new ArrayList<>(MicrosoftOfficeAccess.getPlaceHolders(file, allPartyTypesPlaceHolders, formsPlaceHolders, tfCache));

} else if (file.toLowerCase().endsWith(EXT_PDF)) {

return new ArrayList(PdfFormsAccess.getPlaceHolders(file, allPartyTypesPlaceHolders, formsPlaceHolders));
return new ArrayList<>(PdfFormsAccess.getPlaceHolders(file, allPartyTypesPlaceHolders, formsPlaceHolders));

}

Expand Down

0 comments on commit ea8c956

Please sign in to comment.