This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git
The following commit(s) were added to refs/heads/trunk by this push:
new b9afea4d1f Update HSSFChart.java
b9afea4d1f is described below
commit b9afea4d1f9f61be09afec5cd90cf87552927209
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Jun 1 23:13:54 2026 +0100
Update HSSFChart.java
---
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java
b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java
index a5d71fc19d..bdda8baf2f 100644
--- a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java
+++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java
@@ -1132,7 +1132,7 @@ public final class HSSFChart {
return;
}
- series.setNumValues((short)(int)count);
+ series.setNumValues(count.shortValue());
}
public void setCategoryLabelsCellRange(CellRangeAddressBase range) {
@@ -1142,7 +1142,7 @@ public final class HSSFChart {
return;
}
- series.setNumCategories((short)(int)count);
+ series.setNumCategories(count.shortValue());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]