aboutsummaryrefslogtreecommitdiffstats
path: root/poi-examples/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'poi-examples/src/main')
-rw-r--r--poi-examples/src/main/java/org/apache/poi/examples/ss/html/ToHtml.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-examples/src/main/java/org/apache/poi/examples/ss/html/ToHtml.java b/poi-examples/src/main/java/org/apache/poi/examples/ss/html/ToHtml.java
index cf9eeaf5c0..004400c1ec 100644
--- a/poi-examples/src/main/java/org/apache/poi/examples/ss/html/ToHtml.java
+++ b/poi-examples/src/main/java/org/apache/poi/examples/ss/html/ToHtml.java
@@ -320,7 +320,7 @@ public final class ToHtml {
private String styleName(CellStyle style) {
if (style == null) {
- style = wb.getCellStyleAt((short) 0);
+ style = wb.getCellStyleAt(0);
}
StringBuilder sb = new StringBuilder();
try (Formatter fmt = new Formatter(sb, Locale.ROOT)) {