mirror of https://github.com/apache/poi.git
try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872611 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2797d07486
commit
aa11adebf1
|
@ -21,7 +21,6 @@ import static org.junit.Assert.assertTrue;
|
|||
|
||||
import java.io.*;
|
||||
|
||||
import org.apache.poi.hslf.record.Record;
|
||||
import org.apache.poi.hslf.usermodel.HSLFSlideShow;
|
||||
import org.apache.poi.hslf.usermodel.HSLFSlideShowImpl;
|
||||
import org.apache.poi.util.POILogger;
|
||||
|
@ -36,9 +35,9 @@ public class HSLFFileHandler extends SlideShowHandler {
|
|||
assertNotNull(slide.getEmbeddedObjects());
|
||||
assertNotNull(slide.getUnderlyingBytes());
|
||||
assertNotNull(slide.getPictureData());
|
||||
org.apache.poi.hssf.record.Record[] records = slide.getRecords();
|
||||
org.apache.poi.hslf.record.Record[] records = slide.getRecords();
|
||||
assertNotNull(records);
|
||||
for(org.apache.poi.hssf.record.Record record : records) {
|
||||
for(org.apache.poi.hslf.record.Record record : records) {
|
||||
assertNotNull("Found a record which was null", record);
|
||||
assertTrue(record.getRecordType() >= 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue