From: PJ Fanning Date: Sat, 16 Jul 2022 20:05:15 +0000 (+0000) Subject: java 17 compile issue X-Git-Tag: REL_5_2_3~173 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d849809f229d95b8531e13fa80c8b347c9a26aeb;p=poi.git java 17 compile issue git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902782 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java b/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java index 8ddee0d453..a38b25b6a2 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java @@ -73,7 +73,7 @@ public final class ChartSubstreamRecordAggregate extends RecordAggregate { if (rb instanceof RecordAggregate) { ((RecordAggregate) rb).visitContainedRecords(rv); } else { - rv.visitRecord((Record) rb); + rv.visitRecord((org.apache.poi.hssf.record.Record) rb); } } rv.visitRecord(EOFRecord.instance);