This is an automated email from the ASF dual-hosted git repository.
cbrisson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/velocity-engine.git
The following commit(s) were added to refs/heads/master by this push:
new 304a5397 Fix a funny typo
304a5397 is described below
commit 304a539700032d276520da4c1f926fdbcffeddeb
Author: Claude Brisson <[email protected]>
AuthorDate: Sat Jun 18 09:03:49 2022 +0200
Fix a funny typo
---
.../src/main/java/org/apache/velocity/runtime/directive/Foreach.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Foreach.java
b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Foreach.java
index dd336eea..991e097a 100644
---
a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Foreach.java
+++
b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Foreach.java
@@ -224,7 +224,7 @@ public class Foreach extends Directive
// Get the block ast tree which is always the last child ...
Node block = node.jjtGetChild(node.jjtGetNumChildren()-1);
- // ... except if there is an #else claude
+ // ... except if there is an #else clause
Node elseBlock = null;
Node previous = node.jjtGetChild(node.jjtGetNumChildren()-2);
if (previous instanceof ASTBlock)