aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2024-05-08 21:30:13 +0000
committerPJ Fanning <fanningpj@apache.org>2024-05-08 21:30:13 +0000
commitc0c70cac7a09438399f3ac77e694c3f8706a8d87 (patch)
tree47a27c7609eaf3463c89a3d632d86b23eeb1f878
parentefce9ba9304a93da39d83a0bde2b403fd7f0640e (diff)
downloadpoi-c0c70cac7a09438399f3ac77e694c3f8706a8d87.tar.gz
poi-c0c70cac7a09438399f3ac77e694c3f8706a8d87.zip
javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917586 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCell.java2
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java6
2 files changed, 4 insertions, 4 deletions
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)}</p>
*
* @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 {
* <br>
* <i>Note: Ensure Foreground color is set prior to background color.</i>
* @param color the color to use
- * @see #setFillBackgroundColor(org.apache.poi.xssf.usermodel.XSSFColor) )
+ * @see #setFillBackgroundColor(org.apache.poi.xssf.usermodel.XSSFColor)
*/
public void setFillForegroundColor(XSSFColor color) {
CTFill ct = getCTFill();
@@ -982,7 +982,7 @@ public class XSSFCellStyle implements CellStyle, Duplicatable {
/**
* This element is used to specify cell fill information for pattern and solid color cell fills. For solid cell fills (no pattern),
- * foreground color is used is used. For cell fills with patterns specified, then the cell fill color is specified by the background color element.
+ * foreground color is used. For cell fills with patterns specified, then the cell fill color is specified by the background color element.
*
* @param pattern the fill pattern to use
* @see #setFillBackgroundColor(XSSFColor)