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 2154ad15e1 Fix spelling in Java and JSP files
2154ad15e1 is described below
commit 2154ad15e1b095994cd217cf9a9657a9b06f928c
Author: John Bampton <[email protected]>
AuthorDate: Wed Apr 2 00:49:21 2025 +1000
Fix spelling in Java and JSP files
---
java/org/apache/tomcat/util/buf/CharsetCache.java | 2 +-
test/org/apache/catalina/ha/session/TestDeltaRequest.java | 2 +-
test/org/apache/catalina/realm/TestJNDIRealmIntegration.java | 2 +-
test/org/apache/tomcat/util/buf/TestCharsetUtil.java | 2 +-
test/webapp/jsp/generator/setproperty-01.jsp | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/java/org/apache/tomcat/util/buf/CharsetCache.java
b/java/org/apache/tomcat/util/buf/CharsetCache.java
index 459d9bfcc1..9295eb5f9d 100644
--- a/java/org/apache/tomcat/util/buf/CharsetCache.java
+++ b/java/org/apache/tomcat/util/buf/CharsetCache.java
@@ -158,7 +158,7 @@ public class CharsetCache {
// Added from OpenJDK 21 ea18
"gb18030-2022"
// If you add and entry to this list, ensure you run
- // TestCharsetUtil#testIsAcsiiSupersetAll()
+ // TestCharsetUtil#testIsAsciiSupersetAll()
};
private static final Charset DUMMY_CHARSET = new DummyCharset("Dummy",
null);
diff --git a/test/org/apache/catalina/ha/session/TestDeltaRequest.java
b/test/org/apache/catalina/ha/session/TestDeltaRequest.java
index bc795af10d..17bf8672f4 100644
--- a/test/org/apache/catalina/ha/session/TestDeltaRequest.java
+++ b/test/org/apache/catalina/ha/session/TestDeltaRequest.java
@@ -44,7 +44,7 @@ public class TestDeltaRequest {
original.setAttribute("A", "One");
original.setAttribute("B", "Two");
- // Seralize original request
+ // Serialize original request
byte[] bytes;
try (ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(baos)) {
diff --git a/test/org/apache/catalina/realm/TestJNDIRealmIntegration.java
b/test/org/apache/catalina/realm/TestJNDIRealmIntegration.java
index cdbc252dd6..6447247579 100644
--- a/test/org/apache/catalina/realm/TestJNDIRealmIntegration.java
+++ b/test/org/apache/catalina/realm/TestJNDIRealmIntegration.java
@@ -118,7 +118,7 @@ public class TestJNDIRealmIntegration {
public int poolSize;
@Test
- public void testAuthenication() throws Exception {
+ public void testAuthentication() throws Exception {
JNDIRealm realm = new JNDIRealm();
realm.containerLog = LogFactory.getLog(TestJNDIRealmIntegration.class);
diff --git a/test/org/apache/tomcat/util/buf/TestCharsetUtil.java
b/test/org/apache/tomcat/util/buf/TestCharsetUtil.java
index 2240d778ec..3a6c3c9302 100644
--- a/test/org/apache/tomcat/util/buf/TestCharsetUtil.java
+++ b/test/org/apache/tomcat/util/buf/TestCharsetUtil.java
@@ -51,7 +51,7 @@ public class TestCharsetUtil {
* Only need to run this when we detect a new Charset.
*/
//@Test
- public void testIsAcsiiSupersetAll() {
+ public void testIsAsciiSupersetAll() {
for (Charset charset : Charset.availableCharsets().values()) {
System.out.println("Testing: " + charset.name());
diff --git a/test/webapp/jsp/generator/setproperty-01.jsp
b/test/webapp/jsp/generator/setproperty-01.jsp
index 222552e874..f6fa116848 100644
--- a/test/webapp/jsp/generator/setproperty-01.jsp
+++ b/test/webapp/jsp/generator/setproperty-01.jsp
@@ -16,7 +16,7 @@
--%>
<jsp:useBean id="bean" class="org.apache.jasper.runtime.TesterBean" />
<html>
- <head><title>jsp:setProeprty test cases</title></head>
+ <head><title>jsp:setProperty test cases</title></head>
<body>
<jsp:setProperty name="bean" property="*"/>
<jsp:setProperty name="bean" property="objectValue"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]