This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 444be7d Fix typos
444be7d is described below
commit 444be7d46aee5c19a6630c4814781ec16be564e7
Author: Mark Thomas <[email protected]>
AuthorDate: Sat Jun 19 10:29:33 2021 +0100
Fix typos
---
java/org/apache/jasper/compiler/Generator.java | 2 +-
test/org/apache/jasper/compiler/TestGenerator.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/jasper/compiler/Generator.java
b/java/org/apache/jasper/compiler/Generator.java
index 339de1f..eea8225 100644
--- a/java/org/apache/jasper/compiler/Generator.java
+++ b/java/org/apache/jasper/compiler/Generator.java
@@ -1860,7 +1860,7 @@ class Generator {
out.printil("jakarta.servlet.jsp.PageContext pageContext =
_jspx_page_context;");
}
// Only need to define out if the tag has a non-empty body,
- // implements TryCtachFinally or uses
+ // implements TryCatchFinally or uses
// <jsp:attribute>...</jsp:attribute> nodes
if (!n.hasEmptyBody() || n.implementsTryCatchFinally() ||
n.getNamedAttributeNodes().size() > 0) {
out.printil("jakarta.servlet.jsp.JspWriter out =
_jspx_page_context.getOut();");
diff --git a/test/org/apache/jasper/compiler/TestGenerator.java
b/test/org/apache/jasper/compiler/TestGenerator.java
index 3b53bc1..4cbaf2b 100644
--- a/test/org/apache/jasper/compiler/TestGenerator.java
+++ b/test/org/apache/jasper/compiler/TestGenerator.java
@@ -435,7 +435,7 @@ public class TestGenerator extends TomcatBaseTest {
}
@Test
- public void testTryCtachFinally02() throws Exception {
+ public void testTryCatchFinally02() throws Exception {
doTestJsp("try-catch-finally-02.jsp");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]