]> source.dussan.org Git - poi.git/commitdiff
Fix IDE warnings
authorDominik Stadler <centic@apache.org>
Sat, 22 Jun 2019 06:12:12 +0000 (06:12 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 22 Jun 2019 06:12:12 +0000 (06:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861818 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFTable.java

index de8624683568631244e493406dad32b026170e66..0b3e7da219caebb750eb3f0410fd6b1a6f2b3af2 100644 (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());
         }
     }