aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf/usermodel/TestSanityChecker.java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-01-10 23:13:20 +0000
committerPJ Fanning <fanningpj@apache.org>2020-01-10 23:13:20 +0000
commit2797d07486b036e5486f959b4db769b01320afee (patch)
treeba39b24f0af64287c39eb57307167caa86cb9b13 /src/testcases/org/apache/poi/hssf/usermodel/TestSanityChecker.java
parent12d49035c0d39bd19ac6cfb0d30de545f65a9b7f (diff)
downloadpoi-2797d07486b036e5486f959b4db769b01320afee.tar.gz
poi-2797d07486b036e5486f959b4db769b01320afee.zip
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@1872610 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel/TestSanityChecker.java')
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestSanityChecker.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestSanityChecker.java b/src/testcases/org/apache/poi/hssf/usermodel/TestSanityChecker.java
index c8b10d1b39..0293348636 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestSanityChecker.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestSanityChecker.java
@@ -47,7 +47,7 @@ public final class TestSanityChecker {
@Test
public void testCheckRecordOrder() {
final SanityChecker c = new SanityChecker();
- List<Record> records = new ArrayList<>();
+ List<org.apache.poi.hssf.record.Record> records = new ArrayList<>();
records.add(new BOFRecord());
records.add(INTERFACEHDR);
records.add(createBoundSheetRec());
@@ -121,7 +121,7 @@ public final class TestSanityChecker {
}
private static void confirmBadRecordOrder(final SanityChecker.CheckRecord[] check, Record[] recs) {
final SanityChecker c = new SanityChecker();
- final List<Record> records = Arrays.asList(recs);
+ final List<org.apache.poi.hssf.record.Record> records = Arrays.asList(recs);
try {
new Runnable() {
@Override