FINERACT-2389: Upgrade OpenPDF to v3

This commit is contained in:
Andreas Røsdal
2025-10-29 12:38:18 +01:00
committed by Adam Saghy
parent a849e9bae3
commit 6386eb142b
2 changed files with 5 additions and 5 deletions
@@ -64,7 +64,7 @@ dependencyManagement {
exclude 'javax.activation:activation'
}
dependency 'commons-io:commons-io:2.18.0'
dependency 'com.github.librepdf:openpdf:2.0.3'
dependency 'com.github.librepdf:openpdf:3.0.0'
dependency ('org.mnode.ical4j:ical4j:3.2.19') {
exclude 'com.sun.mail:javax.mail'
exclude 'org.codehaus.groovy:groovy'
@@ -18,10 +18,6 @@
*/
package org.apache.fineract.infrastructure.dataqueries.service;
import com.lowagie.text.Document;
import com.lowagie.text.PageSize;
import com.lowagie.text.pdf.PdfPTable;
import com.lowagie.text.pdf.PdfWriter;
import jakarta.ws.rs.core.StreamingOutput;
import java.io.ByteArrayOutputStream;
import java.io.File;
@@ -61,6 +57,10 @@ import org.apache.fineract.infrastructure.security.service.PlatformSecurityConte
import org.apache.fineract.infrastructure.security.service.SqlInjectionPreventerService;
import org.apache.fineract.infrastructure.security.utils.LogParameterEscapeUtil;
import org.apache.fineract.useradministration.domain.AppUser;
import org.openpdf.text.Document;
import org.openpdf.text.PageSize;
import org.openpdf.text.pdf.PdfPTable;
import org.openpdf.text.pdf.PdfWriter;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.support.rowset.SqlRowSet;