This is an automated email from the ASF dual-hosted git repository.

ddekany pushed a commit to branch 3
in repository https://gitbox.apache.org/repos/asf/freemarker.git

commit d2773c44ac7ec2806d5cda89e92cc32f2b811d8a
Author: ddekany <ddek...@apache.org>
AuthorDate: Sun Jan 1 00:10:47 2023 +0100

    Forward ported from 2.3-gae: Fix: Typos "clalc." in TemplateException (PR 
#76)
---
 .../org/apache/freemarker/core/TemplateException.java     | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git 
a/freemarker-core/src/main/java/org/apache/freemarker/core/TemplateException.java
 
b/freemarker-core/src/main/java/org/apache/freemarker/core/TemplateException.java
index 56b87948..eee4506e 100644
--- 
a/freemarker-core/src/main/java/org/apache/freemarker/core/TemplateException.java
+++ 
b/freemarker-core/src/main/java/org/apache/freemarker/core/TemplateException.java
@@ -19,16 +19,11 @@
 
 package org.apache.freemarker.core;
 
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-import java.io.PrintStream;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.lang.reflect.Method;
-
 import org.apache.freemarker.core.util._CollectionUtils;
 
+import java.io.*;
+import java.lang.reflect.Method;
+
 /**
  * Runtime exception in a template (as opposed to a parsing-time exception: 
{@link ParseException}).
  * It prints a special stack trace that contains the template-language stack 
trace along the usual Java stack trace.
@@ -46,8 +41,8 @@ public class TemplateException extends Exception {
     private transient ASTElement[] ftlInstructionStackSnapshot;
     
     // Calculated on demand:
-    private String renderedFtlInstructionStackSnapshot;  // clalc. from 
ftlInstructionStackSnapshot 
-    private String renderedFtlInstructionStackSnapshotTop; // clalc. from 
ftlInstructionStackSnapshot
+    private String renderedFtlInstructionStackSnapshot;  // calc. from 
ftlInstructionStackSnapshot 
+    private String renderedFtlInstructionStackSnapshotTop; // calc. from 
ftlInstructionStackSnapshot
     private String description;  // calc. from descriptionBuilder, or set by 
the construcor
     private transient String messageWithoutStackTop;
     private transient String message;

Reply via email to