freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [7/8] incubator-freemarker git commit: Fixing regression: Interpolations should be shown in the FTL stack trace
Date Sat, 19 Dec 2015 14:23:16 GMT
Fixing regression: Interpolations should be shown in the FTL stack trace


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/0e5213a8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/0e5213a8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/0e5213a8

Branch: refs/heads/2.3
Commit: 0e5213a8bd08bce7a24ede6a9cb09b1c3fb54fd9
Parents: 4fb95eb
Author: ddekany <ddekany@apache.org>
Authored: Fri Dec 18 22:14:10 2015 +0100
Committer: ddekany <ddekany@apache.org>
Committed: Fri Dec 18 22:14:10 2015 +0100

----------------------------------------------------------------------
 src/main/java/freemarker/core/Interpolation.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/0e5213a8/src/main/java/freemarker/core/Interpolation.java
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/core/Interpolation.java b/src/main/java/freemarker/core/Interpolation.java
index 2dcb11a..a58e9c2 100644
--- a/src/main/java/freemarker/core/Interpolation.java
+++ b/src/main/java/freemarker/core/Interpolation.java
@@ -40,4 +40,9 @@ abstract class Interpolation extends TemplateElement {
      */
     protected abstract Object calculateInterpolatedStringOrMarkup(Environment env) throws
TemplateException;
 
+    @Override
+    boolean isShownInStackTrace() {
+        return true;
+    }
+    
 }


Mime
View raw message