From c0c70cac7a09438399f3ac77e694c3f8706a8d87 Mon Sep 17 00:00:00 2001
From: PJ Fanning
Date: Wed, 8 May 2024 21:30:13 +0000
Subject: [PATCH] javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917586 13f79535-47bb-0310-9956-ffa450edef68
---
.../main/java/org/apache/poi/xssf/usermodel/XSSFCell.java | 2 +-
.../java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java | 6 +++---
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)}
*
* @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 {
*
* Note: Ensure Foreground color is set prior to background color.
* @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)
--
2.39.5