java 17 compile issues

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902761 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-07-16 01:17:15 +00:00
parent ce3371e92e
commit b0400647a9
5 changed files with 6 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class HemfPlusFont {
// A string of Length Unicode characters that contains the name of the font family.
family = StringUtil.readUnicodeLE(leis, len);
size += len*LittleEndianConsts.SHORT_SIZE;
size += (long) len * LittleEndianConsts.SHORT_SIZE;
return size;
}

View File

@ -54,6 +54,7 @@ import org.apache.poi.hslf.exceptions.HSLFException;
import org.apache.poi.hslf.model.HeadersFooters;
import org.apache.poi.hslf.model.MovieShape;
import org.apache.poi.hslf.record.*;
import org.apache.poi.hslf.record.Record;
import org.apache.poi.hslf.record.SlideListWithText.SlideAtomsSet;
import org.apache.poi.poifs.crypt.EncryptionInfo;
import org.apache.poi.poifs.filesystem.DirectoryNode;

View File

@ -17,6 +17,8 @@
package org.apache.poi.hssf.eventmodel;
import org.apache.poi.hssf.record.Record;
/**
* An ERFListener is registered with the EventRecordFactory.
* An ERFListener listens for Records coming from the stream

View File

@ -25,6 +25,7 @@ import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.message.SimpleMessage;
import org.apache.poi.hssf.record.*;
import org.apache.poi.hssf.record.Record;
import org.apache.poi.hssf.record.aggregates.ChartSubstreamRecordAggregate;
import org.apache.poi.hssf.record.aggregates.ColumnInfoRecordsAggregate;
import org.apache.poi.hssf.record.aggregates.ConditionalFormattingTable;

View File

@ -39,6 +39,7 @@ import org.apache.poi.ddf.EscherSpRecord;
import org.apache.poi.ddf.EscherSplitMenuColorsRecord;
import org.apache.poi.hssf.extractor.OldExcelExtractor;
import org.apache.poi.hssf.record.*;
import org.apache.poi.hssf.record.Record;
import org.apache.poi.hssf.record.common.UnicodeString;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.hssf.util.HSSFColor.HSSFColorPredefined;