This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new f2aefe974d test(java): fix spelling
f2aefe974d is described below
commit f2aefe974dd0eb47b1c8a504fc4df78570cf64cc
Author: John Bampton <[email protected]>
AuthorDate: Tue Apr 1 18:50:43 2025 +1000
test(java): fix spelling
---
test/jakarta/servlet/TestServletRequestParameters.java | 2 +-
test/org/apache/catalina/session/TestStandardSessionAccessor.java | 4 ++--
test/org/apache/jasper/compiler/TestGenerator.java | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/jakarta/servlet/TestServletRequestParameters.java
b/test/jakarta/servlet/TestServletRequestParameters.java
index ac431f03e3..d5c2d6d055 100644
--- a/test/jakarta/servlet/TestServletRequestParameters.java
+++ b/test/jakarta/servlet/TestServletRequestParameters.java
@@ -66,7 +66,7 @@ public class TestServletRequestParameters extends
ServletRequestParametersBaseTe
}
// Connection should be closed by the server.
- //readLine() will receive an EOF reading the status line resuting in a
null
+ //readLine() will receive an EOF reading the status line resulting in
a null
Assert.assertNull(client.getResponseLine());
}
}
diff --git a/test/org/apache/catalina/session/TestStandardSessionAccessor.java
b/test/org/apache/catalina/session/TestStandardSessionAccessor.java
index 619a302d75..44764da3bb 100644
--- a/test/org/apache/catalina/session/TestStandardSessionAccessor.java
+++ b/test/org/apache/catalina/session/TestStandardSessionAccessor.java
@@ -97,9 +97,9 @@ public class TestStandardSessionAccessor extends
TomcatBaseTest {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
HttpSession httpSession = req.getSession();
- Accessor acessor = httpSession.getAccessor();
+ Accessor accessor = httpSession.getAccessor();
- Thread t = new Thread(new AccessorRunnable(acessor, latch));
+ Thread t = new Thread(new AccessorRunnable(accessor, latch));
t.start();
}
}
diff --git a/test/org/apache/jasper/compiler/TestGenerator.java
b/test/org/apache/jasper/compiler/TestGenerator.java
index 70e8e18ff3..9657ddb85f 100644
--- a/test/org/apache/jasper/compiler/TestGenerator.java
+++ b/test/org/apache/jasper/compiler/TestGenerator.java
@@ -322,7 +322,7 @@ public class TestGenerator extends TomcatBaseTest {
}
}
if (!removeBlankLines && blankLineCount == 0) {
- Assert.fail("TrimSpaceOptions.EXTENDED not configured but balnk
lines have been removed");
+ Assert.fail("TrimSpaceOptions.EXTENDED not configured but blank
lines have been removed");
} else if (removeBlankLines && blankLineCount > 0) {
Assert.fail("TrimSpaceOptions.EXTENDED does not allow the line to
be just a new line character");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]