aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2025-05-06 20:12:35 +0000
committerPJ Fanning <fanningpj@apache.org>2025-05-06 20:12:35 +0000
commite867e371befbba2c27403f5e5dd1e49ed47f2022 (patch)
tree63498974fd62a47cae14bdb58c6438272ab46bd7
parenteb89c043dcf9e42e2a059e814861961dadddd268 (diff)
downloadpoi-e867e371befbba2c27403f5e5dd1e49ed47f2022.tar.gz
poi-e867e371befbba2c27403f5e5dd1e49ed47f2022.zip
typos (an)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925440 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/ooxml/util/XPathHelper.java4
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java2
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIDateAttribute.java2
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIStringAttribute.java2
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFDateAttribute.java2
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFStringAttribute.java2
-rw-r--r--poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java2
-rw-r--r--poi/src/main/java/org/apache/poi/ss/util/CellReference.java2
8 files changed, 9 insertions, 9 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/ooxml/util/XPathHelper.java b/poi-ooxml/src/main/java/org/apache/poi/ooxml/util/XPathHelper.java
index 26b2b2e737..f4fcf57fe7 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/ooxml/util/XPathHelper.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/ooxml/util/XPathHelper.java
@@ -80,8 +80,8 @@ public final class XPathHelper {
* It returns the first element found - the search order is:
* <ul>
* <li>searching for a direct child</li>
- * <li>searching for a AlternateContent.Choice child</li>
- * <li>searching for a AlternateContent.Fallback child</li>
+ * <li>searching for an AlternateContent.Choice child</li>
+ * <li>searching for an AlternateContent.Fallback child</li>
* </ul>
* The factory flag is
* a workaround to process files based on a later edition. But it comes with the drawback:
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
index fc5462620e..bdb87f1bad 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
@@ -1814,7 +1814,7 @@ public class SXSSFSheet implements Sheet, OoxmlSheetExtensions {
}
/**
- * Remove a Array Formula from this sheet. All cells contained in the Array Formula range are removed as well
+ * Remove an Array Formula from this sheet. All cells contained in the Array Formula range are removed as well
*
* @param cell any cell within Array Formula range
* @return the {@link CellRange} of cells affected by this change
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIDateAttribute.java b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIDateAttribute.java
index c267bd82ed..00f92545f8 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIDateAttribute.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIDateAttribute.java
@@ -70,7 +70,7 @@ public final class MAPIDateAttribute extends MAPIAttribute {
}
/**
- * Returns the Date of a Attribute, converting as appropriate
+ * Returns the Date of an Attribute, converting as appropriate
*/
public static Date getAsDate(MAPIAttribute attr) {
if(attr == null) {
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIStringAttribute.java b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIStringAttribute.java
index c30ec513cb..9e3d6d0cb9 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIStringAttribute.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/MAPIStringAttribute.java
@@ -64,7 +64,7 @@ public final class MAPIStringAttribute extends MAPIAttribute {
}
/**
- * Returns the string of a Attribute, converting as appropriate
+ * Returns the string of an Attribute, converting as appropriate
*/
public static String getAsString(MAPIAttribute attr) {
if(attr == null) {
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFDateAttribute.java b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFDateAttribute.java
index ea6382b461..7c27f76fbe 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFDateAttribute.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFDateAttribute.java
@@ -85,7 +85,7 @@ public final class TNEFDateAttribute extends TNEFAttribute {
}
/**
- * Returns the Date of a Attribute, converting as appropriate
+ * Returns the Date of an Attribute, converting as appropriate
*/
public static Date getAsDate(TNEFAttribute attr) {
if(attr == null) {
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFStringAttribute.java b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFStringAttribute.java
index c403754edb..99c4cf4412 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFStringAttribute.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFStringAttribute.java
@@ -68,7 +68,7 @@ public final class TNEFStringAttribute extends TNEFAttribute {
}
/**
- * Returns the string of a Attribute, converting as appropriate
+ * Returns the string of an Attribute, converting as appropriate
*/
public static String getAsString(TNEFAttribute attr) {
if(attr == null) {
diff --git a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
index 11ae822a21..4b703fc143 100644
--- a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
+++ b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
@@ -971,7 +971,7 @@ public final class WorkbookEvaluator {
}
/**
- * Register a ATP function in runtime.
+ * Register an ATP function in runtime.
*
* @param name the function name
* @param func the function to register
diff --git a/poi/src/main/java/org/apache/poi/ss/util/CellReference.java b/poi/src/main/java/org/apache/poi/ss/util/CellReference.java
index 1749878163..91a97b7edf 100644
--- a/poi/src/main/java/org/apache/poi/ss/util/CellReference.java
+++ b/poi/src/main/java/org/apache/poi/ss/util/CellReference.java
@@ -451,7 +451,7 @@ public class CellReference implements GenericRecord {
}
/**
- * Takes in a 0-based base-10 column and returns a ALPHA-26
+ * Takes in a 0-based base-10 column and returns an ALPHA-26
* representation.
* eg {@code convertNumToColString(3)} returns {@code "D"}
*/