]> source.dussan.org Git - poi.git/commitdiff
[github-341] Remove unused imports. Thanks to XenoAmess. This closes #341
authorPJ Fanning <fanningpj@apache.org>
Fri, 15 Jul 2022 23:23:34 +0000 (23:23 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 15 Jul 2022 23:23:34 +0000 (23:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902760 13f79535-47bb-0310-9956-ffa450edef68

73 files changed:
poi-examples/src/main/java/org/apache/poi/examples/xslf/DoughnutChartFromScratch.java
poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/EncryptedTempFilePackagePart.java
poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/PartUnmarshaller.java
poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFNumericalDataSource.java
poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java
poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/helpers/XSSFPasswordHelper.java
poi-ooxml/src/test/java/org/apache/poi/openxml4j/opc/TestPackageThumbnail.java
poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/tests/TestEncryptor.java
poi-ooxml/src/test/java/org/apache/poi/util/tests/TestIdentifierManager.java
poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java
poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java
poi-ooxml/src/test/java/org/apache/poi/xssf/TestXSSFCloneSheet.java
poi-ooxml/src/test/java/org/apache/poi/xssf/model/TestStylesTable.java
poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFRow.java
poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestSXSSFSheetAutosizeColumn.java
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFBugs.java
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFCell.java
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFDataValidation.java
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/charts/TestXSSFChartTitle.java
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/extensions/TestXSSFHeaderFooter.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFFill.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureShape.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java
poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/DirectoryChunk.java
poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToFoConverter.java
poi-scratchpad/src/test/java/org/apache/poi/hdgf/TestHDGFCore.java
poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestBackground.java
poi-scratchpad/src/test/java/org/apache/poi/hsmf/TestBasics.java
poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestProblems.java
poi/src/main/java/org/apache/poi/extractor/ExtractorFactory.java
poi/src/main/java/org/apache/poi/hssf/eventmodel/ERFListener.java
poi/src/main/java/org/apache/poi/hssf/eventusermodel/AbortableHSSFListener.java
poi/src/main/java/org/apache/poi/hssf/eventusermodel/EventWorkbookBuilder.java
poi/src/main/java/org/apache/poi/hssf/eventusermodel/HSSFListener.java
poi/src/main/java/org/apache/poi/hssf/eventusermodel/HSSFRequest.java
poi/src/main/java/org/apache/poi/hssf/eventusermodel/MissingRecordAwareHSSFListener.java
poi/src/main/java/org/apache/poi/hssf/model/HSSFFormulaParser.java
poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java
poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java
poi/src/main/java/org/apache/poi/hssf/record/WriteAccessRecord.java
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFRow.java
poi/src/main/java/org/apache/poi/hssf/util/HSSFColor.java
poi/src/main/java/org/apache/poi/sl/draw/geom/CurveToCommand.java
poi/src/main/java/org/apache/poi/sl/draw/geom/GuideIf.java
poi/src/main/java/org/apache/poi/ss/formula/EvaluationCache.java
poi/src/main/java/org/apache/poi/ss/formula/atp/PercentRankExcFunction.java
poi/src/main/java/org/apache/poi/ss/formula/atp/WorkdayCalculator.java
poi/src/main/java/org/apache/poi/ss/formula/functions/Covar.java
poi/src/main/java/org/apache/poi/ss/formula/functions/DCountA.java
poi/src/main/java/org/apache/poi/ss/formula/functions/DProduct.java
poi/src/main/java/org/apache/poi/ss/formula/functions/IfFunc.java
poi/src/main/java/org/apache/poi/ss/formula/functions/Quotient.java
poi/src/main/java/org/apache/poi/ss/usermodel/FormulaEvaluator.java
poi/src/main/java/org/apache/poi/ss/util/CellUtil.java
poi/src/main/java/org/apache/poi/util/CodePageUtil.java
poi/src/test/java/org/apache/poi/hssf/dev/TestBiffViewer.java
poi/src/test/java/org/apache/poi/hssf/dev/TestEFBiffViewer.java
poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFSheetShiftColumns.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestAverageifs.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestDollarDe.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestForecast.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestGcd.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestMaxifs.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestMinifs.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestNormDist.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestNormInv.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestNormSDist.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestNumberValue.java
poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java
poi/src/test/java/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
poi/src/test/java/org/apache/poi/util/TestStringUtil.java

index dba07cedd91a59c9179645ed5f77c5a99a80d585..2be46b9b5fe0fcbd8ecdb69c34de3872dd7265d2 100644 (file)
@@ -21,19 +21,13 @@ package org.apache.poi.examples.xslf;
 
 import org.apache.poi.ss.util.CellRangeAddress;
 import org.apache.poi.util.Units;
-import org.apache.poi.xddf.usermodel.chart.AxisCrossBetween;
-import org.apache.poi.xddf.usermodel.chart.AxisCrosses;
-import org.apache.poi.xddf.usermodel.chart.AxisPosition;
-import org.apache.poi.xddf.usermodel.chart.AxisTickMark;
 import org.apache.poi.xddf.usermodel.chart.ChartTypes;
 import org.apache.poi.xddf.usermodel.chart.LegendPosition;
-import org.apache.poi.xddf.usermodel.chart.XDDFChartAxis;
 import org.apache.poi.xddf.usermodel.chart.XDDFChartLegend;
 import org.apache.poi.xddf.usermodel.chart.XDDFDataSource;
 import org.apache.poi.xddf.usermodel.chart.XDDFDataSourcesFactory;
 import org.apache.poi.xddf.usermodel.chart.XDDFDoughnutChartData;
 import org.apache.poi.xddf.usermodel.chart.XDDFNumericalDataSource;
-import org.apache.poi.xddf.usermodel.chart.XDDFValueAxis;
 import org.apache.poi.xslf.usermodel.XMLSlideShow;
 import org.apache.poi.xslf.usermodel.XSLFChart;
 import org.apache.poi.xslf.usermodel.XSLFGraphicFrame;
index 1365a494dc0a30b509ead9b86d6d28b6b128421a..1ec18cf5846b1e773878ce108d1d4dc9f65b7b1f 100644 (file)
@@ -28,7 +28,6 @@ import org.apache.poi.openxml4j.opc.internal.marshallers.ZipPartMarshaller;
 import org.apache.poi.poifs.crypt.temp.EncryptedTempData;
 import org.apache.poi.util.Beta;
 import org.apache.poi.util.IOUtils;
-import org.apache.poi.util.TempFile;
 
 import java.io.*;
 
index 8d31319dc2ff534446665d5461a61d209e73fb40..42bd8dcd82bf20d69e2cfd72be3c82fc371fb0b7 100644 (file)
@@ -21,7 +21,6 @@ import java.io.IOException;
 import java.io.InputStream;
 
 import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
-import org.apache.poi.openxml4j.exceptions.OpenXML4JException;
 import org.apache.poi.openxml4j.opc.PackagePart;
 import org.apache.poi.openxml4j.opc.internal.unmarshallers.UnmarshallContext;
 
index 95ef676462f133cecadfad0d314cffa336a1dbc0..82c573a8f9c2c84328980b968f064471bedfa4b6 100644 (file)
@@ -20,9 +20,6 @@
 package org.apache.poi.xddf.usermodel.chart;
 
 import org.apache.poi.util.Beta;
-import org.apache.poi.util.Internal;
-import org.openxmlformats.schemas.drawingml.x2006.chart.CTNumData;
-import org.openxmlformats.schemas.drawingml.x2006.chart.CTNumVal;
 
 @Beta
 public interface XDDFNumericalDataSource<T extends Number> extends XDDFDataSource<T> {
index 0477a747cd0edc0fd01d9be7ea10e67fa58ca89e..9352ebe133a998537ed0c83cc79df9552871f22d 100644 (file)
@@ -44,7 +44,6 @@ import org.apache.poi.util.CodepointsUtil;
 import org.apache.poi.util.Removal;
 import org.apache.poi.util.TempFile;
 import org.apache.poi.xssf.model.SharedStringsTable;
-import org.apache.poi.xssf.usermodel.XSSFRichTextString;
 import org.openxmlformats.schemas.spreadsheetml.x2006.main.STCellType;
 
 /**
index 8c3329e797312aae2a6be9bc72fbf7a729bd6a2d..ab9caf5d5be78766307f038ba7fe175cce092d62 100644 (file)
@@ -27,7 +27,6 @@ import javax.xml.namespace.QName;
 
 import org.apache.poi.poifs.crypt.CryptoFunctions;
 import org.apache.poi.poifs.crypt.HashAlgorithm;
-import org.apache.poi.poifs.crypt.temp.EncryptedTempData;
 import org.apache.poi.util.Internal;
 import org.apache.poi.util.RandomSingleton;
 import org.apache.poi.util.StringUtil;
index 81c78f41dc0927b97ef054c33e9d8b2b98d1b32d..db4ce054e8db1767f2406d5f1e09fe91f418b4a5 100644 (file)
@@ -18,9 +18,7 @@
 package org.apache.poi.openxml4j.opc;
 
 import static org.junit.jupiter.api.Assertions.assertFalse;
-import static org.junit.jupiter.api.Assertions.assertNotEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assertions.fail;
 
 import java.io.File;
 
index 54c468115033057dd634803262f3443c9104afae..5e106b4202f6bd625dd8fb5d0944b31cfb4ea377 100644 (file)
@@ -46,7 +46,6 @@ import org.apache.poi.poifs.crypt.CipherAlgorithm;
 import org.apache.poi.poifs.crypt.Decryptor;
 import org.apache.poi.poifs.crypt.EncryptionInfo;
 import org.apache.poi.poifs.crypt.EncryptionMode;
-import org.apache.poi.poifs.crypt.EncryptionVerifier;
 import org.apache.poi.poifs.crypt.Encryptor;
 import org.apache.poi.poifs.crypt.HashAlgorithm;
 import org.apache.poi.poifs.crypt.agile.AgileDecryptor;
index 4bbc64ddc569a657d253a2c4ef483bb7afab0162..370b2c3a56034e408d98793a98dd3ad739553909 100644 (file)
@@ -19,7 +19,6 @@ package org.apache.poi.util.tests;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertNotEquals;
-import static org.junit.jupiter.api.Assertions.assertSame;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
index ca5c40aaf1b4dad3e590ab51a6074928a1b5a272..75571ac3d8bfbfab99b99fc535d8762f1b855af9 100644 (file)
@@ -20,11 +20,9 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
 import java.io.File;
-import java.io.FileNotFoundException;
 import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.OutputStream;
-import java.util.Locale;
 
 import org.apache.poi.xssf.usermodel.XSSFClientAnchor;
 import org.apache.poi.xssf.usermodel.XSSFDrawing;
index 65984ed6380f0cf1550fe63c44fadad0b7c62b2b..fedf7a485444576a195269421a6068aae36d7aad 100644 (file)
@@ -21,7 +21,6 @@ package org.apache.poi.xslf.usermodel;
 
 import static java.util.Arrays.asList;
 import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assumptions.assumeFalse;
 
 import java.io.Closeable;
 import java.io.File;
index 8ceb06981cb27af63ebd9e3454d69f33132b33e0..72fc676c6ecbb064e6cf3bb02ebda68578dfb3b1 100644 (file)
@@ -22,7 +22,6 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-import org.apache.poi.hssf.HSSFITestDataProvider;
 import org.apache.poi.ss.usermodel.BaseTestCloneSheet;
 import org.apache.poi.ss.usermodel.Sheet;
 import org.apache.poi.ss.usermodel.Workbook;
index 14295640845ba90617f6e3650605c3b5eecdc271..e22035775055fddd455e3474a8dcaf65f4c87ec3 100644 (file)
@@ -28,7 +28,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assertions.fail;
 
 import java.io.IOException;
 import java.io.InputStream;
index 59a18bc7e50159c59a7051253fd6efcc96376297..cd442b5406d7dfd8ca7843845be895ab84a25e79 100644 (file)
@@ -23,7 +23,6 @@ import org.apache.poi.ss.tests.usermodel.BaseTestXRow;
 import org.apache.poi.xssf.SXSSFITestDataProvider;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Disabled;
-import org.junit.jupiter.api.Test;
 
 /**
  * Tests for XSSFRow
index 579ea290f2dfd19fe51678e80920792d30e1fd5f..37b17406238bcb9fba617c7fd6f9cfa38bc38b51 100644 (file)
@@ -44,7 +44,6 @@ import org.apache.poi.openxml4j.opc.PackageAccess;
 import org.apache.poi.ss.tests.usermodel.BaseTestXWorkbook;
 import org.apache.poi.ss.usermodel.Cell;
 import org.apache.poi.ss.usermodel.CellType;
-import org.apache.poi.ss.usermodel.Hyperlink;
 import org.apache.poi.ss.usermodel.Row;
 import org.apache.poi.ss.usermodel.Sheet;
 import org.apache.poi.ss.usermodel.Workbook;
index cc162c382001d5f0c616e6408434a3eefc5c35c4..4ccc4e51226122e3c91e58f1aef3702e715e18da 100644 (file)
@@ -19,7 +19,6 @@ package org.apache.poi.xssf.usermodel;
 
 import org.apache.poi.ss.usermodel.BaseTestSheetAutosizeColumn;
 import org.apache.poi.ss.usermodel.Sheet;
-import org.apache.poi.ss.usermodel.Workbook;
 import org.apache.poi.xssf.SXSSFITestDataProvider;
 import org.apache.poi.xssf.streaming.SXSSFSheet;
 
index 5f5bd2f484214c88239ddf32b05eb9d2751ef1db..26011c37111ef935ea80c021f9857046bcbc110d 100644 (file)
@@ -35,7 +35,6 @@ import java.io.FileInputStream;
 import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
-import java.io.OutputStream;
 import java.nio.charset.StandardCharsets;
 import java.time.Instant;
 import java.time.LocalDateTime;
index a98f762d7993eab7111e19c67d2a6ae1296ca254..2d2b930598c5137e05ded5026097b29746f6e47d 100644 (file)
@@ -25,7 +25,6 @@ import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertSame;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assertions.fail;
 
 import java.io.IOException;
 import java.util.List;
@@ -57,10 +56,8 @@ import org.apache.poi.xssf.SXSSFITestDataProvider;
 import org.apache.poi.xssf.XSSFITestDataProvider;
 import org.apache.poi.xssf.XSSFTestDataSamples;
 import org.apache.poi.xssf.model.SharedStringsTable;
-import org.junit.jupiter.api.Tag;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.params.ParameterizedTest;
-import org.junit.jupiter.params.provider.CsvSource;
 import org.junit.jupiter.params.provider.EnumSource;
 import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCell;
 import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCellFormula;
index d72cf493b1e88cc573866d2b0162e708677d619a..c4b3d96eb81cbfe3919aee9f22dd584855f78307 100644 (file)
@@ -34,7 +34,6 @@ import org.apache.poi.ss.usermodel.DataValidationConstraint.OperatorType;
 import org.apache.poi.ss.usermodel.DataValidationConstraint.ValidationType;
 import org.apache.poi.ss.usermodel.DataValidationHelper;
 import org.apache.poi.ss.usermodel.Row;
-import org.apache.poi.ss.usermodel.Sheet;
 import org.apache.poi.ss.util.CellRangeAddress;
 import org.apache.poi.ss.util.CellRangeAddressList;
 import org.apache.poi.ss.util.CellReference;
index 72f3ff5ad4d1c3e41b111f215a2e1bc39ecb60b1..8970453de62e81df5a30487d8635a942ff2e24e8 100644 (file)
@@ -18,7 +18,6 @@
 package org.apache.poi.xssf.usermodel.charts;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertNotEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertNull;
index f5c1054849c620c7dc94800442ccec9b8c7201f5..0f8a35e8f96ca1451024dd3d1acc5d933903b9fc 100644 (file)
@@ -21,7 +21,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assertions.fail;
 
 import org.apache.poi.xssf.usermodel.XSSFOddHeader;
 import org.apache.poi.xssf.usermodel.XSSFSheet;
index 219cd05c594cac6b2bcc7fa3eb0a9f0143e87e05..14ceaa5e6a212d2b8ae403a817092ee46adab22a 100644 (file)
@@ -32,7 +32,6 @@ import org.apache.poi.ddf.EscherBSERecord;
 import org.apache.poi.ddf.EscherColorRef;
 import org.apache.poi.ddf.EscherContainerRecord;
 import org.apache.poi.ddf.EscherPropertyTypes;
-import org.apache.poi.ddf.EscherRecord;
 import org.apache.poi.ddf.EscherRecordTypes;
 import org.apache.poi.ddf.EscherSimpleProperty;
 import org.apache.poi.hslf.record.Document;
index 3a6d2ad879053059cfddb498d2b03dd4098a7355..cfb44383b9ceb291613081f14f999e3692a79b73 100644 (file)
@@ -47,7 +47,6 @@ import org.apache.poi.poifs.crypt.HashAlgorithm;
 import org.apache.poi.sl.usermodel.PictureData;
 import org.apache.poi.util.Internal;
 import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.LittleEndianConsts;
 import org.apache.poi.util.Removal;
 import org.apache.poi.util.Units;
 
index 6aba4b23ff456332a157dbdcc8e138b6a26f2584..416fe4147bc07cdf53296a7085791e3b65169f1a 100644 (file)
@@ -28,7 +28,6 @@ import org.apache.poi.ddf.EscherBSERecord;
 import org.apache.poi.ddf.EscherComplexProperty;
 import org.apache.poi.ddf.EscherContainerRecord;
 import org.apache.poi.ddf.EscherPropertyTypes;
-import org.apache.poi.ddf.EscherRecord;
 import org.apache.poi.ddf.EscherSimpleProperty;
 import org.apache.poi.ddf.EscherSpRecord;
 import org.apache.poi.hslf.record.Document;
index fa4cf6c79501c5f734db9e2b079d18d990b14f3a..bab2df281df122608065cb47bb08937dde0e86eb 100644 (file)
@@ -54,7 +54,6 @@ 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;
index 2b42db7209ad159cdb2d3374cf3961dde41a633c..1faba2dc664cca9ae41834c32663b35a72c53163 100644 (file)
@@ -23,7 +23,6 @@ import java.io.OutputStream;
 import org.apache.poi.hsmf.MAPIMessage;
 import org.apache.poi.hsmf.datatypes.Types.MAPIType;
 import org.apache.poi.poifs.filesystem.DirectoryNode;
-import org.apache.poi.util.Removal;
 
 /**
  * A Chunk that is just a placeholder in the MAPIMessage directory structure,
index 3aca26981f7eb3481e250f3a5fe95ba8c341982e..9bf16aeb03956ed217f2d6118278e574880ac3a6 100644 (file)
@@ -17,9 +17,6 @@
 package org.apache.poi.hwpf.converter;
 
 import static org.apache.logging.log4j.util.Unbox.box;
-import static org.apache.poi.hwpf.converter.AbstractWordUtils.TWIPS_PER_INCH;
-import static org.apache.poi.hwpf.converter.AbstractWordUtils.isNotEmpty;
-import static org.apache.poi.hwpf.converter.AbstractWordUtils.loadDoc;
 import static org.apache.poi.hwpf.converter.WordToFoUtils.*;
 
 import java.io.File;
index 9c78ba3b61c01920f8d1da525aba9a7039220cc2..9d96dddd190653174851a34549a1afb574e271cf 100644 (file)
@@ -28,8 +28,6 @@ import org.apache.poi.hdgf.extractor.VisioTextExtractor;
 import org.apache.poi.hdgf.streams.PointerContainingStream;
 import org.apache.poi.hdgf.streams.TrailerStream;
 import org.apache.poi.poifs.filesystem.POIFSFileSystem;
-import org.junit.jupiter.api.AfterEach;
-import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 
 public final class TestHDGFCore {
index cc3abf76e880d7ded6645a41ebd4850beea8d606..82cc3e2fb899af29380c785889a37e6012712164 100644 (file)
@@ -29,7 +29,6 @@ import org.apache.poi.ddf.AbstractEscherOptRecord;
 import org.apache.poi.ddf.EscherBSERecord;
 import org.apache.poi.ddf.EscherContainerRecord;
 import org.apache.poi.ddf.EscherPropertyTypes;
-import org.apache.poi.ddf.EscherRecord;
 import org.apache.poi.ddf.EscherSimpleProperty;
 import org.apache.poi.hslf.HSLFTestDataSamples;
 import org.apache.poi.hslf.record.Document;
index 25b5442ac2ed688eab9f53dc05a81f158dc07219..9b89718b6309d3b420fa7058196b5196905e14c5 100644 (file)
@@ -20,7 +20,6 @@ package org.apache.poi.hsmf;
 import static org.apache.poi.POITestCase.assertContains;
 import static org.apache.poi.POITestCase.assertStartsWith;
 import static org.junit.jupiter.api.Assertions.*;
-import static org.junit.jupiter.api.Assertions.assertNotNull;
 
 import java.io.IOException;
 
index 9732b77bda9fb902bd84d5e4f3a86b0bf2cb66ad..da0f319dd36d6e33e0b574728871dd780e2716ba 100644 (file)
@@ -27,7 +27,6 @@ import java.io.IOException;
 import org.apache.poi.EncryptedDocumentException;
 import org.apache.poi.hwpf.HWPFDocument;
 import org.apache.poi.hwpf.HWPFTestCase;
-import org.apache.poi.hwpf.HWPFTestDataSamples;
 import org.apache.poi.hwpf.extractor.WordExtractor;
 import org.apache.poi.hwpf.model.StyleSheet;
 import org.junit.jupiter.api.Test;
index 1fad9152eb5433b1162cf7a01257a47ae01f1e9a..28b81e9cc432749e1729f9eccb14bf054747d948 100644 (file)
@@ -30,7 +30,6 @@ import java.util.stream.StreamSupport;
 import org.apache.logging.log4j.LogManager;
 import org.apache.logging.log4j.Logger;
 import org.apache.poi.EmptyFileException;
-import org.apache.poi.OldFileFormatException;
 import org.apache.poi.hssf.extractor.ExcelExtractor;
 import org.apache.poi.poifs.crypt.Decryptor;
 import org.apache.poi.poifs.filesystem.DirectoryEntry;
index 1924b476badc9128ef02cbc8c09a935e616307f4..2bb3989f8d0b2ded77a7cc91af1b61245366f4b3 100644 (file)
@@ -17,8 +17,6 @@
 
 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
index b030effac68f5df4ed0537999e0a7bce7a3c82c6..9d78819dfe0139c0877dfabfba3be92f501f66ba 100644 (file)
@@ -18,8 +18,6 @@
 
 package org.apache.poi.hssf.eventusermodel;
 
-import org.apache.poi.hssf.record.Record;
-
 /**
  * Abstract class for use with the HSSFRequest and HSSFEventFactory, which
  *  allows for the halting of processing. 
index 3a6a54e1334b2227029bf8984b40aed8da23577e..6c7681a704c6e8056263ba8b0f2cb231c82934b1 100644 (file)
@@ -25,7 +25,6 @@ import org.apache.poi.hssf.model.InternalWorkbook;
 import org.apache.poi.hssf.record.BoundSheetRecord;
 import org.apache.poi.hssf.record.EOFRecord;
 import org.apache.poi.hssf.record.ExternSheetRecord;
-import org.apache.poi.hssf.record.Record;
 import org.apache.poi.hssf.record.SSTRecord;
 import org.apache.poi.hssf.record.SupBookRecord;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
index cc47e416b0d3ea54675c2677feb5dfd7f7167c4b..7b3e0be49f87afb482c8459f604d7502b08408a7 100644 (file)
@@ -18,8 +18,6 @@
 
 package org.apache.poi.hssf.eventusermodel;
 
-import org.apache.poi.hssf.record.Record;
-
 /**
  * Interface for use with the HSSFRequest and HSSFEventFactory.  Users should create
  * a listener supporting this interface and register it with the HSSFRequest (associating
index ce6b93af722246d52c277c54ab9a604f67c8d1db..d2ea4b259f3fdbdb9b7f40ad8b61176d0e699616 100644 (file)
@@ -22,7 +22,6 @@ import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
 
-import org.apache.poi.hssf.record.Record;
 import org.apache.poi.hssf.record.RecordFactory;
 
 /**
index ed87510c7004229c67da806900c84748bc8adcd5..48e6826233084f747a68708005397a616d45679a 100644 (file)
@@ -25,7 +25,6 @@ import org.apache.poi.hssf.record.CellValueRecordInterface;
 import org.apache.poi.hssf.record.MulBlankRecord;
 import org.apache.poi.hssf.record.MulRKRecord;
 import org.apache.poi.hssf.record.NoteRecord;
-import org.apache.poi.hssf.record.Record;
 import org.apache.poi.hssf.record.RecordFactory;
 import org.apache.poi.hssf.record.RowRecord;
 import org.apache.poi.hssf.record.SharedFormulaRecord;
index e2ed227155feddba0cc7efaa830502db1deec02e..4bab58bd4c02d7368b9ce481ce3f046b5f527e89 100644 (file)
@@ -26,7 +26,6 @@ import org.apache.poi.ss.formula.FormulaRenderer;
 import org.apache.poi.ss.formula.FormulaType;
 import org.apache.poi.ss.formula.ptg.Ptg;
 import org.apache.poi.util.Internal;
-import org.apache.poi.util.Removal;
 
 /**
  * HSSF wrapper for the {@link FormulaParser} and {@link FormulaRenderer}
index 8deeec15a3c958e63394ff9db94859861eb2031a..41e1099ba27f37dd5b4fe43a77782eca1a749ecc 100644 (file)
@@ -25,7 +25,6 @@ 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;
index 82a383841431e05e76c6de562d1eeb8780fe9d71..ca1e7f8ec5291af78a16d8d8319380b0919b1388 100644 (file)
@@ -39,7 +39,6 @@ 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;
index 84061d0cdab2b7344d822cb8344a9946be59ce52..88f8affd2d79e7e92e3e17d44199a24f22022990 100644 (file)
@@ -17,7 +17,6 @@
 
 package org.apache.poi.hssf.record;
 
-import java.io.IOException;
 import java.nio.charset.Charset;
 import java.nio.charset.StandardCharsets;
 import java.util.Arrays;
index 83d6213b3224b506e502136ea05fc3b606d0e9ee..9220c14157f93c8ae0a42b6826a163ce9c0cc0d4 100644 (file)
@@ -33,7 +33,6 @@ import org.apache.poi.ss.usermodel.CellCopyContext;
 import org.apache.poi.ss.usermodel.CellCopyPolicy;
 import org.apache.poi.ss.usermodel.CellStyle;
 import org.apache.poi.ss.usermodel.CellType;
-import org.apache.poi.ss.usermodel.FormulaError;
 import org.apache.poi.ss.usermodel.Row;
 import org.apache.poi.ss.usermodel.helpers.RowShifter;
 import org.apache.poi.ss.util.CellRangeAddress;
index c659f1cfef91147d95497bb5b097c2e356bb807d..1d791102aace9f3f1914fb888533b540c22173bb 100644 (file)
@@ -25,7 +25,6 @@ import java.util.Map;
 import java.util.Objects;
 
 import org.apache.poi.ss.usermodel.Color;
-import org.apache.poi.util.Removal;
 
 
 /**
index 01d3f726e5b19eb6ff9086c3eeed26afeafefe4e..793ea6dd70649492dc7865e3f0d64ee96f52f698 100644 (file)
@@ -19,7 +19,6 @@
 
 package org.apache.poi.sl.draw.geom;
 
-import java.awt.geom.Path2D;
 import java.util.Objects;
 
 /**
index d813f0ca31e904fa36ecba1ca767bbd430d2d7e0..ff0e58d351cace3f4ba969a6cb940a93a31cf77f 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.poi.sl.draw.geom;
 
 import static java.lang.Math.*;
-import static java.lang.Math.toRadians;
 
 import java.util.regex.Pattern;
 
index cd7539a675e960e282f6ba100c54cfc3bad7e92d..ddb3f591dc2e435b9c98c535a215f7c004cf220a 100644 (file)
@@ -17,7 +17,6 @@
 
 package org.apache.poi.ss.formula;
 
-import org.apache.poi.ss.formula.FormulaCellCache.IEntryOperation;
 import org.apache.poi.ss.formula.FormulaUsedBlankCellSet.BookSheetKey;
 import org.apache.poi.ss.formula.PlainCellCache.Loc;
 import org.apache.poi.ss.formula.eval.BlankEval;
index 8ab6f9dad0e57af2a63b2f67fb9de3dc3df5dca2..e638fddd614eec32ea65a8c0314f3d50a4a2bb7b 100644 (file)
@@ -23,7 +23,6 @@ import org.apache.poi.ss.formula.functions.FreeRefFunction;
 import org.apache.poi.ss.formula.functions.PercentRank;
 
 import java.math.BigDecimal;
-import java.math.RoundingMode;
 import java.util.ArrayList;
 import java.util.List;
 
index 17b22a32c16b24431410a844a12d647f5a09f769..69b5a6e320f91b205952b7fdab631f740f1beac1 100644 (file)
@@ -28,7 +28,6 @@ import java.util.Set;
 
 import org.apache.poi.ss.usermodel.DateUtil;
 import org.apache.poi.util.LocaleUtil;
-import org.apache.poi.util.Removal;
 
 /**
  * A calculator for workdays, considering dates as excel representations.
index 3c902498b6f4a2967b6097f9f3c6633a38ebd2a2..2aa916a2ae9d311e9bb9cf822b7948818c12aa8b 100644 (file)
@@ -17,7 +17,6 @@
 package org.apache.poi.ss.formula.functions;
 
 import org.apache.commons.math3.stat.correlation.Covariance;
-import org.apache.commons.math3.stat.correlation.PearsonsCorrelation;
 import org.apache.poi.ss.formula.OperationEvaluationContext;
 import org.apache.poi.ss.formula.eval.ErrorEval;
 import org.apache.poi.ss.formula.eval.EvaluationException;
index 6b9cc27aeed0e6efe2b9ab32abb6fe6b895c5e85..9d7405843b2d236b67694bbb5307973f5b5b0e7f 100644 (file)
@@ -19,7 +19,6 @@ package org.apache.poi.ss.formula.functions;
 
 import org.apache.poi.ss.formula.eval.BlankEval;
 import org.apache.poi.ss.formula.eval.NumberEval;
-import org.apache.poi.ss.formula.eval.NumericValueEval;
 import org.apache.poi.ss.formula.eval.ValueEval;
 
 /**
index 2a1c05ff4a9e4a050489ac851efc38a18fbb31ee..6f72ff251911ce1a7fd4d41dacbbf57e279adb22 100644 (file)
@@ -20,10 +20,6 @@ package org.apache.poi.ss.formula.functions;
 import org.apache.poi.ss.formula.eval.NumberEval;
 import org.apache.poi.ss.formula.eval.NumericValueEval;
 import org.apache.poi.ss.formula.eval.ValueEval;
-import org.apache.poi.ss.util.NumberToTextConverter;
-
-import java.math.BigDecimal;
-import java.util.ArrayList;
 
 /**
  * Implementation of the DProduct function:
index c73e13a1cc74063e115f9e4ab3dbb58f00ff0a34..3f78273f7e79a7e3cca8bcb32700a64da7d61bd0 100644 (file)
@@ -23,8 +23,6 @@ import org.apache.poi.ss.formula.eval.*;
 import org.apache.poi.ss.formula.ptg.Ptg;
 import org.apache.poi.ss.formula.ptg.RefPtg;
 
-import java.util.function.BiFunction;
-
 /**
  * Implementation for the Excel function IF
  * <p>
index 7a1ff4a9ba1cc82bc1913a89803a82bf8b85d6ca..36ddf437acfcbfc45b3410587ec4d2f653b3b076 100644 (file)
@@ -18,7 +18,6 @@
 package org.apache.poi.ss.formula.functions;
 
 import org.apache.poi.ss.formula.OperationEvaluationContext;
-import org.apache.poi.ss.formula.eval.ValueEval;
 
 import org.apache.poi.ss.formula.eval.*;
 
index 5d9a671dc46ae73933985a6fffb9a9af0258592b..7c90640fa12a1df82c5d6681431f850e2f28a517 100644 (file)
@@ -17,8 +17,6 @@
 
 package org.apache.poi.ss.usermodel;
 
-import org.apache.poi.util.Removal;
-
 import java.util.Map;
 
 /**
index e509dd2aafdffd7cb5413c669cc23117d4c63eaa..29c2f2a524ffe7909a3f4dbec16cfbe67862032b 100644 (file)
@@ -30,7 +30,6 @@ import org.apache.logging.log4j.Logger;
 import org.apache.poi.common.Duplicatable;
 import org.apache.poi.ss.usermodel.*;
 import org.apache.poi.util.Beta;
-import org.apache.poi.util.Internal;
 
 /**
  * Various utility functions that make working with a cells and rows easier. The various methods
index 1b068c8754d11f6f46f23274800875a22e37d8dd..b89fba871b74ec9e7caa6af04aec7988471cede1 100644 (file)
@@ -18,9 +18,6 @@
 package org.apache.poi.util;
 
 import java.io.UnsupportedEncodingException;
-import java.nio.charset.Charset;
-import java.util.Collections;
-import java.util.Set;
 
 /**
  * Utilities for working with Microsoft CodePages.
index 82ae713ab1c3e29fb6079c8da9fada0bdf7c26a6..107c87668b9e8d2302a7278672f6c2e1837869c4 100644 (file)
@@ -20,7 +20,6 @@ import java.io.File;
 import java.io.IOException;
 import java.util.Map;
 
-import org.apache.poi.EncryptedDocumentException;
 import org.apache.poi.util.RecordFormatException;
 
 class TestBiffViewer extends BaseTestIteratingXLS {
index 375bf8fa7699e9b128697e5d0597bd49f1ca097c..a5349ff25c4392b92b6575f398b812385c43810a 100644 (file)
@@ -26,7 +26,6 @@ import org.apache.poi.hssf.eventusermodel.HSSFEventFactory;
 import org.apache.poi.hssf.eventusermodel.HSSFRequest;
 import org.apache.poi.hssf.record.RecordInputStream;
 import org.apache.poi.poifs.filesystem.POIFSFileSystem;
-import org.apache.poi.util.RecordFormatException;
 import org.junit.jupiter.api.Assertions;
 
 class TestEFBiffViewer extends BaseTestIteratingXLS {
index 9333ac516a36302ef79464ac7424e7ab509f6d45..4f6b446c2bf64051bb1b0b5cc95068416f3db975 100644 (file)
  */
 package org.apache.poi.hssf.usermodel;
 
-import java.io.IOException;
-
 import org.apache.poi.hssf.HSSFITestDataProvider;
 import org.apache.poi.hssf.HSSFTestDataSamples;
 import org.apache.poi.ss.usermodel.BaseTestSheetShiftColumns;
 import org.apache.poi.ss.usermodel.Workbook;
 import org.junit.jupiter.api.Disabled;
-import org.junit.jupiter.api.Test;
 
 class TestHSSFSheetShiftColumns extends BaseTestSheetShiftColumns {
     public TestHSSFSheetShiftColumns() {
index d299d9e04be5e6e143f71453b2d748b4806b10c4..8db06f2fb75efd8c87618c2231e682b18fe63567 100644 (file)
 
 package org.apache.poi.ss.formula.functions;
 
-import static org.apache.poi.ss.util.Utils.*;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-import org.apache.poi.hssf.HSSFTestDataSamples;
-import org.apache.poi.hssf.usermodel.HSSFCell;
-import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
-import org.apache.poi.hssf.usermodel.HSSFSheet;
-import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.formula.OperationEvaluationContext;
 import org.apache.poi.ss.formula.eval.ErrorEval;
 import org.apache.poi.ss.formula.eval.NumberEval;
 import org.apache.poi.ss.formula.eval.NumericValueEval;
 import org.apache.poi.ss.formula.eval.StringEval;
 import org.apache.poi.ss.formula.eval.ValueEval;
-import org.apache.poi.ss.usermodel.FormulaError;
 import org.junit.jupiter.api.Test;
 
-import java.io.IOException;
-
 /**
  * Test cases for AVERAGEIFS()
  */
index 5d9e1ea52273a6fc86d7f9eb75e6bdc9909fb902..768e7234829d4f139b52666a82244b68628b6944 100644 (file)
@@ -23,7 +23,6 @@ import org.apache.poi.hssf.usermodel.HSSFRow;
 import org.apache.poi.hssf.usermodel.HSSFSheet;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.formula.OperationEvaluationContext;
-import org.apache.poi.ss.formula.eval.BoolEval;
 import org.apache.poi.ss.formula.eval.ErrorEval;
 import org.apache.poi.ss.formula.eval.NumberEval;
 import org.apache.poi.ss.formula.eval.StringEval;
@@ -32,7 +31,6 @@ import org.junit.jupiter.api.Test;
 
 import java.io.IOException;
 
-import static org.apache.poi.ss.util.Utils.addRow;
 import static org.apache.poi.ss.util.Utils.assertDouble;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
index e2e42e110dd3697a203a3c5a569197913c953c11..e31b180828a31de2b147bb94d1b912eb67a94cd9 100644 (file)
@@ -22,14 +22,12 @@ import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
 import org.apache.poi.hssf.usermodel.HSSFRow;
 import org.apache.poi.hssf.usermodel.HSSFSheet;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
-import org.apache.poi.ss.usermodel.FormulaError;
 import org.junit.jupiter.api.Test;
 
 import java.io.IOException;
 
 import static org.apache.poi.ss.util.Utils.addRow;
 import static org.apache.poi.ss.util.Utils.assertDouble;
-import static org.apache.poi.ss.util.Utils.assertError;
 
 /**
  * Tests for {@link Forecast}
index a4ddb8d2b2a8318f2d617df2ede830f9c9951f9d..624b2bccc36ffe2e58720e33229e5b4ace9d69eb 100644 (file)
 
 package org.apache.poi.ss.formula.functions;
 
-import org.apache.poi.hssf.usermodel.HSSFCell;
-import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
-import org.apache.poi.hssf.usermodel.HSSFSheet;
-import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.formula.OperationEvaluationContext;
-import org.apache.poi.ss.formula.eval.BoolEval;
 import org.apache.poi.ss.formula.eval.ErrorEval;
 import org.apache.poi.ss.formula.eval.NumberEval;
 import org.apache.poi.ss.formula.eval.StringEval;
 import org.apache.poi.ss.formula.eval.ValueEval;
 import org.junit.jupiter.api.Test;
 
-import java.io.IOException;
 import java.util.Arrays;
-import java.util.Collections;
 import java.util.List;
 
-import static org.apache.poi.ss.util.Utils.addRow;
-import static org.apache.poi.ss.util.Utils.assertDouble;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
 /**
index 91d8c32b7bd86ab41afdf3afeab8822e79f6ac37..580e7740dc52140fa6cbb9643138840e8cf5f01d 100644 (file)
 
 package org.apache.poi.ss.formula.functions;
 
-import static org.apache.poi.ss.util.Utils.*;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-import org.apache.poi.hssf.HSSFTestDataSamples;
-import org.apache.poi.hssf.usermodel.HSSFCell;
-import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
-import org.apache.poi.hssf.usermodel.HSSFSheet;
-import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.formula.OperationEvaluationContext;
-import org.apache.poi.ss.formula.eval.ErrorEval;
 import org.apache.poi.ss.formula.eval.NumberEval;
 import org.apache.poi.ss.formula.eval.NumericValueEval;
 import org.apache.poi.ss.formula.eval.StringEval;
 import org.apache.poi.ss.formula.eval.ValueEval;
-import org.apache.poi.ss.usermodel.FormulaError;
 import org.junit.jupiter.api.Test;
 
-import java.io.IOException;
-
 /**
  * Test cases for MAXIFS()
  */
index 4e3f6cfe1f7fe1c95ab5246fbf8e0a4d93ee19c5..d7f530585a649fa88e8eeec938fdcfc28325f42d 100644 (file)
 
 package org.apache.poi.ss.formula.functions;
 
-import static org.apache.poi.ss.util.Utils.*;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-import org.apache.poi.hssf.HSSFTestDataSamples;
-import org.apache.poi.hssf.usermodel.HSSFCell;
-import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
-import org.apache.poi.hssf.usermodel.HSSFSheet;
-import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.formula.OperationEvaluationContext;
-import org.apache.poi.ss.formula.eval.ErrorEval;
 import org.apache.poi.ss.formula.eval.NumberEval;
 import org.apache.poi.ss.formula.eval.NumericValueEval;
 import org.apache.poi.ss.formula.eval.StringEval;
 import org.apache.poi.ss.formula.eval.ValueEval;
-import org.apache.poi.ss.usermodel.FormulaError;
 import org.junit.jupiter.api.Test;
 
-import java.io.IOException;
-
 /**
  * Test cases for MINIFS()
  */
index 39ae606adf2de571d384d1ea1ab7273a1c7613b4..9099876f84083796becb3c11423699db0365b011 100644 (file)
@@ -22,7 +22,6 @@ import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
 import org.apache.poi.hssf.usermodel.HSSFSheet;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.formula.OperationEvaluationContext;
-import org.apache.poi.ss.formula.eval.BlankEval;
 import org.apache.poi.ss.formula.eval.BoolEval;
 import org.apache.poi.ss.formula.eval.ErrorEval;
 import org.apache.poi.ss.formula.eval.NumberEval;
index 689b1ae12fed717fc313ea7cc07096d2f0f90322..08baad5ab804a610bf4febada1164220bb064a4e 100644 (file)
@@ -22,7 +22,6 @@ import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
 import org.apache.poi.hssf.usermodel.HSSFSheet;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.formula.OperationEvaluationContext;
-import org.apache.poi.ss.formula.eval.BoolEval;
 import org.apache.poi.ss.formula.eval.ErrorEval;
 import org.apache.poi.ss.formula.eval.NumberEval;
 import org.apache.poi.ss.formula.eval.StringEval;
index a5a3922b9fb32d795c767cc8cba3d7e37fec3ec5..03670a030abdb449ef9b114828ad1d84c9987068 100644 (file)
@@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
 
 import java.io.IOException;
 
-import static org.apache.poi.ss.util.Utils.addRow;
 import static org.apache.poi.ss.util.Utils.assertDouble;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
index f8307698cd7cbaaa2c3283cc48aa560a1ff57304..ef6444cbbb3c40b37847387e4a0820f5da36bd33 100644 (file)
@@ -22,16 +22,13 @@ import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
 import org.apache.poi.hssf.usermodel.HSSFRow;
 import org.apache.poi.hssf.usermodel.HSSFSheet;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
-import org.apache.poi.ss.usermodel.CellValue;
 import org.apache.poi.ss.usermodel.FormulaError;
 import org.junit.jupiter.api.Test;
 
 import java.io.IOException;
 
-import static org.apache.poi.ss.util.Utils.addRow;
 import static org.apache.poi.ss.util.Utils.assertDouble;
 import static org.apache.poi.ss.util.Utils.assertError;
-import static org.junit.jupiter.api.Assertions.assertEquals;
 
 /**
  * Testcase for function NUMBERVALUE()
index a12917242b74c7fa018cd35b4722b5be454f95a7..0cfc46f0dc1b85239805b8818c4968f877f96300 100644 (file)
@@ -28,7 +28,6 @@ import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.formula.FormulaParseException;
 import org.apache.poi.ss.formula.eval.AreaEval;
 import org.apache.poi.ss.formula.eval.ErrorEval;
-import org.apache.poi.ss.formula.eval.NotImplementedException;
 import org.apache.poi.ss.formula.eval.NumberEval;
 import org.apache.poi.ss.formula.eval.ValueEval;
 import org.apache.poi.ss.usermodel.Cell;
index e27557e9b95c7b7d77e85d0aa858401cc63e1432..ad86341a260310a471da30d8d345657ee447f081 100644 (file)
@@ -28,11 +28,8 @@ import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.util.ArrayList;
 import java.util.Date;
-import java.util.HashMap;
 import java.util.List;
 import java.util.Locale;
-import java.util.Map;
-import java.util.stream.Collectors;
 import java.util.stream.Stream;
 
 import org.apache.poi.util.LocaleUtil;
index c0545cd76215ec5040bdda906dd1f6bb6b3f7df5..82a65b1bfb3dd1daa1df084a983a2e63d96bdccd 100644 (file)
@@ -21,7 +21,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assertions.fail;
 
 import java.nio.charset.Charset;