Fix IDE warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861818 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2019-06-22 06:12:12 +00:00
parent 50874d9d0d
commit 16779b96e5
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,6 @@ import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
public final class TestXSSFTable {
@ -218,6 +217,7 @@ public final class TestXSSFTable {
public void getNumberOfMappedColumns() throws IOException {
try (XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("StructuredReferences.xlsx")) {
XSSFTable table = wb.getTable("\\_Prime.1");
//noinspection deprecation
assertEquals(3, table.getNumberOfMappedColumns());
}
}