Commit 6b3b5cfd authored by Emmanuel Bourg's avatar Emmanuel Bourg

Depend on libapache-poi-java (>= 4.0)

parent a927145a
......@@ -2,6 +2,7 @@ libspring-java (4.3.21-3) UNRELEASED; urgency=medium
* Team upload.
* Depend on librome-java (>= 1.6)
* Depend on libapache-poi-java (>= 4.0)
-- Emmanuel Bourg <ebourg@apache.org> Tue, 22 Jan 2019 19:39:02 +0100
......
......@@ -14,7 +14,7 @@ Build-Depends-Indep: bsh,
jruby (>= 1.7.19~),
junit4 (>= 4.5),
libactivation-java,
libapache-poi-java,
libapache-poi-java (>= 4.0),
libasm-java (>= 5.0),
libaspectj-java,
libatinject-jsr330-api-java,
......
Description: Fixes the compatibility with the version of Apache POI in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractExcelView.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractExcelView.java
@@ -217,7 +217,7 @@
* @param text the text to put in the cell
*/
protected void setText(HSSFCell cell, String text) {
- cell.setCellType(HSSFCell.CELL_TYPE_STRING);
+ cell.setCellType(org.apache.poi.ss.usermodel.CellType.STRING);
cell.setCellValue(text);
}
......@@ -17,3 +17,4 @@
0047-ejb-api-compatibility.patch
0048-snakeyaml-compatibility.patch
0049-java11-compatibility.patch
0050-apache-poi-compatibility.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment