diff options
author | PJ Fanning <fanningpj@apache.org> | 2023-06-27 11:48:38 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2023-06-27 11:48:38 +0000 |
commit | 99634d6af6559d280c2a8f61aa9f8230281defe6 (patch) | |
tree | 3f2a9b1ab118b7de77bd83cffd037f6fd69a8ec3 /poi-examples | |
parent | bfb6ec8e546ff409ad62b406e34eb3ee3cb76813 (diff) | |
download | poi-99634d6af6559d280c2a8f61aa9f8230281defe6.tar.gz poi-99634d6af6559d280c2a8f61aa9f8230281defe6.zip |
apply some spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-examples')
-rw-r--r-- | poi-examples/src/main/java/org/apache/poi/examples/ss/ConditionalFormats.java | 4 | ||||
-rw-r--r-- | poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/poi-examples/src/main/java/org/apache/poi/examples/ss/ConditionalFormats.java b/poi-examples/src/main/java/org/apache/poi/examples/ss/ConditionalFormats.java index 22eec9633a..db65f76787 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/ss/ConditionalFormats.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/ss/ConditionalFormats.java @@ -285,7 +285,7 @@ public final class ConditionalFormats { /** * Use Excel conditional formatting to hide the duplicate values, * and make the list easier to read. In this example, when the table is sorted by Region, - * the second (and subsequent) occurences of each region name will have white font colour. + * the second (and subsequent) occurrences of each region name will have white font colour. */ static void hideDupplicates(Sheet sheet) { sheet.createRow(0).createCell(0).setCellValue("City"); @@ -309,7 +309,7 @@ public final class ConditionalFormats { sheetCF.addConditionalFormatting(regions, rule1); sheet.getRow(1).createCell(1).setCellValue("<== the second (and subsequent) " + - "occurences of each region name will have white font colour. " + + "occurrences of each region name will have white font colour. " + "Condition: Formula Is =A2=A1 (White Font)"); } diff --git a/poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java b/poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java index 7053d3bba9..8c1058341d 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java @@ -689,7 +689,7 @@ public class ToCSV { // It is not wise to have such a wide catch clause - Exception is very // close to being at the top of the inheritance hierarchy - though it // will suffice for this example as it is really not possible to recover - // easilly from an exceptional set of circumstances at this point in the + // easily from an exceptional set of circumstances at this point in the // program. It should however, ideally be replaced with one or more // catch clauses optimised to handle more specific problems. catch(Exception ex) { |