diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCell.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCell.java index 755da69e12..03110ec00b 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCell.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCell.java @@ -609,7 +609,7 @@ public final class XSSFCell extends CellBase { * use {@link org.apache.poi.ss.util.CellUtil#setCellStyleProperties(Cell, java.util.Map)}
* * @param style reference contained in the workbook. - * If the value is null then the style information is removed causing the cell to used the default workbook style. + * If the value is null then the style information is removed causing the cell to use the default workbook style. * @throws IllegalArgumentException if style belongs to a different styles source (most likely because style is from a different Workbook) */ @Override diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java index 02bb6bc66a..a9d1c76ad3 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java @@ -116,7 +116,7 @@ public class XSSFCellStyle implements CellStyle, Duplicatable { * This is normally called when trying to assign a style to a * cell, to ensure the cell and the style are from the same * workbook (if they're not, it won't work) - * @throws IllegalArgumentException if there's a workbook mis-match + * @throws IllegalArgumentException if there's a workbook mismatch */ public void verifyBelongsToStylesSource(StylesTable src) { if(this._stylesSource != src) { @@ -883,7 +883,7 @@ public class XSSFCellStyle implements CellStyle, Duplicatable { *