aboutsummaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-12-13 13:12:32 +0000
committerPJ Fanning <fanningpj@apache.org>2021-12-13 13:12:32 +0000
commit837590024f3261354d4919589bf51426ad050433 (patch)
tree4e1ae4eee607bf85d44404f4929b51c2ec823298 /poi
parentbbef66dee3c8899ead321fcb57447455a02939cc (diff)
downloadpoi-837590024f3261354d4919589bf51426ad050433.tar.gz
poi-837590024f3261354d4919589bf51426ad050433.zip
[bug-65741] rework previous change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895881 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFRichTextString.java4
-rw-r--r--poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestDataValidation.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFRichTextString.java b/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFRichTextString.java
index 44ae5b4fcf..c8f4b2ed7d 100644
--- a/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFRichTextString.java
+++ b/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFRichTextString.java
@@ -75,7 +75,7 @@ final class TestHSSFRichTextString {
/**
- * Test case proposed in Bug 40520: formated twice => will format whole String
+ * Test case proposed in Bug 40520: formatted twice => will format whole String
*/
@Test
void test40520_1() {
@@ -109,7 +109,7 @@ final class TestHSSFRichTextString {
}
/**
- * Test case proposed in Bug 40520: formated twice => will format whole String
+ * Test case proposed in Bug 40520: formatted twice => will format whole String
*/
@Test
void test40520_3() {
diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestDataValidation.java b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestDataValidation.java
index 540563ef49..dc6302a5e5 100644
--- a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestDataValidation.java
+++ b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestDataValidation.java
@@ -421,7 +421,7 @@ public abstract class BaseTestDataValidation {
CellStyle cellStyle_time = wb.createCellStyle();
cellStyle_time.setDataFormat(fmtTime);
- wf.createDVTypeRow("Date ( cells are already formated as date - m/d/yyyy)");
+ wf.createDVTypeRow("Date ( cells are already formatted as date - m/d/yyyy)");
wf.createHeaderRow();
ValidationAdder va = wf.createValidationAdder(cellStyle_date, ValidationType.DATE);
@@ -435,7 +435,7 @@ public abstract class BaseTestDataValidation {
va.addValidation(OperatorType.LESS_OR_EQUAL, "2004/03/04", null, ErrorStyle.STOP, "Less than or equal to 3/4/2004", "-", false, true, false);
// "Time" validation type
- wf.createDVTypeRow("Time ( cells are already formated as time - h:mm)");
+ wf.createDVTypeRow("Time ( cells are already formatted as time - h:mm)");
wf.createHeaderRow();
va = wf.createValidationAdder(cellStyle_time, ValidationType.TIME);