diff options
17 files changed, 50 insertions, 50 deletions
diff --git a/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java b/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java index 56ee62d271..e3939aae48 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java @@ -632,7 +632,7 @@ public class AddDimensionedImage { totalWidthMM += (colWidthMM + ConvertImageUnits.CELL_BORDER_WIDTH_MILLIMETRES); toColumn++; } - // De-crement by one the last column value. + // De-rement by one the last column value. toColumn--; // Highly unlikely that this will be true but, if the width of a series // of columns is exactly equal to the required width of the image, then diff --git a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFSimpleShape.java b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFSimpleShape.java index 269a0df884..16c32e1c6d 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFSimpleShape.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFSimpleShape.java @@ -764,7 +764,7 @@ public abstract class XSLFSimpleShape extends XSLFShape /** * Specifies the line end decoration, such as a triangle or arrowhead. * - * @param style the line end docoration style + * @param style the line end decoration style */ @SuppressWarnings("WeakerAccess") public void setLineHeadDecoration(DecorationShape style) { diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPivotCacheDefinition.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPivotCacheDefinition.java index e5709c01e9..f1dfd1a5c9 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPivotCacheDefinition.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPivotCacheDefinition.java @@ -55,7 +55,7 @@ public class XSSFPivotCacheDefinition extends POIXMLDocumentPart{ } /** - * Creates an XSSFPivotCacheDefintion representing the given package part and relationship. + * Creates an XSSFPivotCacheDefinition representing the given package part and relationship. * Should only be called when reading in an existing file. * * @param part - The package part that holds xml data representing this pivot cache definition. diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java index 70ed47e89e..73183eae85 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java @@ -4639,7 +4639,7 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet, OoxmlSheetEx pivotTables.add(pivotTable); XSSFWorkbook workbook = getWorkbook(); - //Create relationship between the pivot cache defintion and the workbook + //Create relationship between the pivot cache definition and the workbook XSSFPivotCacheDefinition pivotCacheDefinition = (XSSFPivotCacheDefinition) workbook. createRelationship(XSSFRelation.PIVOT_CACHE_DEFINITION, getWorkbook().getXssfFactory(), tableId); String rId = workbook.getRelationId(pivotCacheDefinition); diff --git a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java index ee285455f4..09d6a6eefe 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java @@ -1309,7 +1309,7 @@ public class XWPFDocument extends POIXMLDocument implements Document, IBody { * * @param password the plaintext password, if null no password will be applied * @param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported. - * if null, it will default default to sha1 + * if null, it will default to sha1 */ public void enforceReadonlyProtection(String password, HashAlgorithm hashAlgo) { settings.setEnforcementEditValue(STDocProtect.READ_ONLY, password, hashAlgo); @@ -1345,7 +1345,7 @@ public class XWPFDocument extends POIXMLDocument implements Document, IBody { * * @param password the plaintext password, if null no password will be applied * @param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported. - * if null, it will default default to sha1 + * if null, it will default to sha1 */ public void enforceFillingFormsProtection(String password, HashAlgorithm hashAlgo) { settings.setEnforcementEditValue(STDocProtect.FORMS, password, hashAlgo); @@ -1381,7 +1381,7 @@ public class XWPFDocument extends POIXMLDocument implements Document, IBody { * * @param password the plaintext password, if null no password will be applied * @param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported. - * if null, it will default default to sha1 + * if null, it will default to sha1 */ public void enforceCommentsProtection(String password, HashAlgorithm hashAlgo) { settings.setEnforcementEditValue(STDocProtect.COMMENTS, password, hashAlgo); @@ -1417,7 +1417,7 @@ public class XWPFDocument extends POIXMLDocument implements Document, IBody { * * @param password the plaintext password, if null no password will be applied * @param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported. - * if null, it will default default to sha1 + * if null, it will default to sha1 */ public void enforceTrackedChangesProtection(String password, HashAlgorithm hashAlgo) { settings.setEnforcementEditValue(STDocProtect.TRACKED_CHANGES, password, hashAlgo); diff --git a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFSettings.java b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFSettings.java index 90753d3b92..696935db16 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFSettings.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFSettings.java @@ -192,7 +192,7 @@ public class XWPFSettings extends POIXMLDocumentPart { * @param editValue the protection type * @param password the plaintext password, if null no password will be applied * @param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported. - * if null, it will default default to sha1 + * if null, it will default to sha1 */ public void setEnforcementEditValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STDocProtect.Enum editValue, String password, HashAlgorithm hashAlgo) { diff --git a/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java b/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java index 137d3901fa..8bea979e33 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java @@ -67,7 +67,7 @@ class TestXDDFChartRemoveSeries { final XDDFValueAxis bottomAxis = chart.createValueAxis(AxisPosition.BOTTOM); final XDDFValueAxis leftAxis = chart.createValueAxis(AxisPosition.LEFT); - // Initialize data data sources + // Initialize data sources final Double dX[] = new Double[5]; final Double dY1[] = new Double[5]; diff --git a/poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFAutoShape.java b/poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFAutoShape.java index 330f6629e7..0c199cd2b0 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFAutoShape.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFAutoShape.java @@ -69,7 +69,7 @@ class TestXSLFAutoShape { shape.setRightInset(0.0); assertEquals(0.0, shape.getRightInset(), 0); - // unset to defauls + // unset to defaults shape.setBottomInset(-1); assertEquals(3.6, shape.getBottomInset(), 0); shape.setTopInset(-1); diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/BaseTestXSSFPivotTable.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/BaseTestXSSFPivotTable.java index d989dca870..4766c8522f 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/BaseTestXSSFPivotTable.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/BaseTestXSSFPivotTable.java @@ -71,10 +71,10 @@ public abstract class BaseTestXSSFPivotTable { assertEquals(0, pivotTable.getRowLabelColumns().size()); pivotTable.addRowLabel(0); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertEquals(0, defintion.getRowFields().getFieldArray(0).getX()); - assertEquals(1, defintion.getRowFields().getCount()); + assertEquals(0, definition.getRowFields().getFieldArray(0).getX()); + assertEquals(1, definition.getRowFields().getCount()); assertEquals(1, pivotTable.getRowLabelColumns().size()); pivotTable.addRowLabel(1); @@ -100,9 +100,9 @@ public abstract class BaseTestXSSFPivotTable { int columnIndex = 0; pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnIndex); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertNull(defintion.getColFields()); + assertNull(definition.getColFields()); } /** @@ -117,9 +117,9 @@ public abstract class BaseTestXSSFPivotTable { pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnOne); pivotTable.addColumnLabel(DataConsolidateFunction.MAX, columnTwo); pivotTable.addColumnLabel(DataConsolidateFunction.MIN, columnThree); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertEquals(3, defintion.getDataFields().getDataFieldList().size()); + assertEquals(3, definition.getDataFields().getDataFieldList().size()); } @@ -135,9 +135,9 @@ public abstract class BaseTestXSSFPivotTable { pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnOne); pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnTwo); pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnThree); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertEquals(3, defintion.getDataFields().getDataFieldList().size()); + assertEquals(3, definition.getDataFields().getDataFieldList().size()); } /** @@ -150,9 +150,9 @@ public abstract class BaseTestXSSFPivotTable { pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnOne); pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnTwo); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertEquals(defintion.getColFields().getFieldArray(0).getX(), -2); + assertEquals(definition.getColFields().getFieldArray(0).getX(), -2); } /** @@ -162,11 +162,11 @@ public abstract class BaseTestXSSFPivotTable { void testColumnLabelCreatesDataField() { pivotTable.addColumnLabel(DataConsolidateFunction.SUM, 0); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertEquals(0, defintion.getDataFields().getDataFieldArray(0).getFld()); + assertEquals(0, definition.getDataFields().getDataFieldArray(0).getFld()); assertSame(STDataConsolidateFunction.Enum.forInt(DataConsolidateFunction.SUM.getValue()), - defintion.getDataFields().getDataFieldArray(0).getSubtotal()); + definition.getDataFields().getDataFieldArray(0).getSubtotal()); } /** @@ -180,10 +180,10 @@ public abstract class BaseTestXSSFPivotTable { pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnIndex, customName); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertEquals(defintion.getDataFields().getDataFieldArray(0).getFld(), columnIndex); - assertEquals(defintion.getDataFields().getDataFieldArray(0).getName(), customName); + assertEquals(definition.getDataFields().getDataFieldArray(0).getFld(), columnIndex); + assertEquals(definition.getDataFields().getDataFieldArray(0).getName(), customName); } /** @@ -197,10 +197,10 @@ public abstract class BaseTestXSSFPivotTable { pivotTable.addColumnLabel(DataConsolidateFunction.SUM, columnIndex, null, format); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertEquals(defintion.getDataFields().getDataFieldArray(0).getFld(), columnIndex); - assertEquals(defintion.getDataFields().getDataFieldArray(0).getNumFmtId(), wb.createDataFormat().getFormat(format)); + assertEquals(definition.getDataFields().getDataFieldArray(0).getFld(), columnIndex); + assertEquals(definition.getDataFields().getDataFieldArray(0).getNumFmtId(), wb.createDataFormat().getFormat(format)); } /** @@ -292,10 +292,10 @@ public abstract class BaseTestXSSFPivotTable { assertEquals(0, pivotTable.getColLabelColumns().size()); pivotTable.addColLabel(0); - CTPivotTableDefinition defintion = pivotTable.getCTPivotTableDefinition(); + CTPivotTableDefinition definition = pivotTable.getCTPivotTableDefinition(); - assertEquals(0, defintion.getColFields().getFieldArray(0).getX()); - assertEquals(1, defintion.getColFields().getCount()); + assertEquals(0, definition.getColFields().getFieldArray(0).getX()); + assertEquals(1, definition.getColFields().getCount()); assertEquals(1, pivotTable.getColLabelColumns().size()); pivotTable.addColLabel(1); diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFBugs.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFBugs.java index 7b735206d4..d30d4d3abc 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFBugs.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFBugs.java @@ -3809,7 +3809,7 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues { } } - // for the decrytped bytes + // for the decrypted bytes UnsynchronizedByteArrayOutputStream bosDec = UnsynchronizedByteArrayOutputStream.builder().get(); /* decrypt excel by poi */ diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFCell.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFCell.java index ec06fa81f2..742b29af49 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFCell.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFCell.java @@ -320,8 +320,8 @@ public final class TestXSSFCell extends BaseTestXCell { // Test idea: iterate over cells in the reference worksheet, they all have the R attribute set. // For each cell from the reference sheet find the corresponding cell in the problematic file (with missing R) // and assert that POI reads them equally: - DataFormatter formater = new DataFormatter(); - for(Row r : sheetRef){ + DataFormatter formatter = new DataFormatter(); + for (Row r : sheetRef) { XSSFRow rowRef = (XSSFRow)r; XSSFRow row = sheet.getRow(rowRef.getRowNum()); @@ -338,8 +338,8 @@ public final class TestXSSFCell extends BaseTestXCell { if(!cell.getCTCell().isSetR()){ assertTrue(cellRef.getCTCell().isSetR(), "R must e set in cellRef"); - String valRef = formater.formatCellValue(cellRef); - String val = formater.formatCellValue(cell); + String valRef = formatter.formatCellValue(cellRef); + String val = formatter.formatCellValue(cell); assertEquals(valRef, val); } diff --git a/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFHeader.java b/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFHeader.java index 73d2eebe20..5ca2f5dc3e 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFHeader.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFHeader.java @@ -127,7 +127,7 @@ final class TestXWPFHeader { assertEquals(0, headerF.getParagraphs().size()); - // As an additional check, recover the defauls footer and + // As an additional check, recover the defaults footer and // make sure that it contains two paragraphs of text and that // both do hold what is expected. footerD = policy.getDefaultFooter(); diff --git a/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java b/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java index 424ab6eda8..39ea0530a4 100644 --- a/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java +++ b/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java @@ -2041,7 +2041,7 @@ public final class InternalWorkbook { } /** - * protect a workbook with a password (not encypted, just sets writeprotect + * protect a workbook with a password (not encrypted, just sets writeprotect * flags and the password. * * @param password the password @@ -2080,7 +2080,7 @@ public final class InternalWorkbook { * * @param name the name of an external function, typically a name of a UDF * @param sheetRefIndex the sheet ref index, or -1 if not known - * @param udf locator of user-defiend functions to resolve names of VBA and Add-In functions + * @param udf locator of user-defined functions to resolve names of VBA and Add-In functions * @return the external name or null */ public NameXPtg getNameXPtg(String name, int sheetRefIndex, UDFFinder udf) { diff --git a/poi/src/main/java/org/apache/poi/hssf/record/ExtendedFormatRecord.java b/poi/src/main/java/org/apache/poi/hssf/record/ExtendedFormatRecord.java index b5a1d3d94e..7ec61b190f 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/ExtendedFormatRecord.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/ExtendedFormatRecord.java @@ -762,7 +762,7 @@ public final class ExtendedFormatRecord extends StandardRecord { } // i've no idea.. possible values are 1 for down, 2 for up and 3 for both...0 for none.. - // maybe a diagnal line? + // maybe a diagonal line? /** * Not sure what this is for (maybe fill lines?) 1 = down, 2 = up, 3 = both, 0 for none.. @@ -1474,7 +1474,7 @@ public final class ExtendedFormatRecord extends StandardRecord { } // i've no idea.. possible values are 1 for down, 2 for up and 3 for both...0 for none.. - // maybe a diagnal line? + // maybe a diagonal line? /** * Not sure what this is for (maybe fill lines?) 1 = down, 2 = up, 3 = both, 0 for none.. diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java index b303d3d7da..aac44b1542 100644 --- a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java +++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java @@ -2168,7 +2168,7 @@ public final class HSSFWorkbook extends POIDocument implements Workbook { } /** - * protect a workbook with a password (not encypted, just sets writeprotect + * protect a workbook with a password (not encrypted, just sets writeprotect * flags and the password. * * @param password to set diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java index cdc514f3ab..c6936cec0b 100644 --- a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java +++ b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java @@ -580,7 +580,7 @@ public abstract class BaseTestNamedRange { } @Test - public final void testDefferedSetting() throws Exception { + public final void testDeferredSetting() throws Exception { try (Workbook wb = _testDataProvider.createWorkbook()) { Name n1 = wb.createName(); assertNull(n1.getRefersToFormula()); diff --git a/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java b/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java index 816db091a2..288ded538d 100644 --- a/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java +++ b/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java @@ -162,7 +162,7 @@ final class TestSheetUtil { cell.setCellValue("sometext"); assertTrue(SheetUtil.getColumnWidth(sheet, 0, true) > 0, "Having some width for rows with actual cells"); - assertEquals(-1.0, SheetUtil.getColumnWidth(sheet, 0, true, 1, 2), 0.01, "Not having any widht for rows with all empty cells"); + assertEquals(-1.0, SheetUtil.getColumnWidth(sheet, 0, true, 1, 2), 0.01, "Not having any width for rows with all empty cells"); } } @@ -178,7 +178,7 @@ final class TestSheetUtil { cell.setCellValue((String)null); assertEquals(-1, SheetUtil.getColumnWidth(sheet, 0, true), "Having some width for rows with actual cells"); - assertEquals(-1.0, SheetUtil.getColumnWidth(sheet, 0, true, 1, 2), 0.01, "Not having any widht for rows with all empty cells"); + assertEquals(-1.0, SheetUtil.getColumnWidth(sheet, 0, true, 1, 2), 0.01, "Not having any width for rows with all empty cells"); } } @@ -194,7 +194,7 @@ final class TestSheetUtil { cell.setCellValue(""); assertTrue(SheetUtil.getColumnWidth(sheet, 0, true) > 0, "Having some width for rows with actual cells"); - assertEquals(-1.0, SheetUtil.getColumnWidth(sheet, 0, true, 1, 2), 0.01, "Not having any widht for rows with all empty cells"); + assertEquals(-1.0, SheetUtil.getColumnWidth(sheet, 0, true, 1, 2), 0.01, "Not having any width for rows with all empty cells"); } } @@ -212,7 +212,7 @@ final class TestSheetUtil { cell.setCellType(CellType.STRING); assertTrue(SheetUtil.getColumnWidth(sheet, 0, true) > 0, "Having some width for rows with actual cells"); - assertEquals(-1.0, SheetUtil.getColumnWidth(sheet, 0, true, 1, 2), 0.01, "Not having any widht for rows with all empty cells"); + assertEquals(-1.0, SheetUtil.getColumnWidth(sheet, 0, true, 1, 2), 0.01, "Not having any width for rows with all empty cells"); } } } |