freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [1/4] incubator-freemarker git commit: (Minor code cleanup)
Date Tue, 27 Mar 2018 08:27:41 GMT
Repository: incubator-freemarker
Updated Branches:
  refs/heads/2.3 5d3d608ae -> 52bd103bc


(Minor code cleanup)


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

Branch: refs/heads/2.3
Commit: 8fcbd6b0c64ad10337f3c386a7f639a3477601ec
Parents: 2a774e5
Author: ddekany <ddekany@apache.org>
Authored: Mon Mar 26 22:38:24 2018 +0200
Committer: ddekany <ddekany@apache.org>
Committed: Mon Mar 26 22:38:24 2018 +0200

----------------------------------------------------------------------
 src/main/java/freemarker/core/GetOptionalTemplateMethod.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/8fcbd6b0/src/main/java/freemarker/core/GetOptionalTemplateMethod.java
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/core/GetOptionalTemplateMethod.java b/src/main/java/freemarker/core/GetOptionalTemplateMethod.java
index 15ea527..5ed340c 100644
--- a/src/main/java/freemarker/core/GetOptionalTemplateMethod.java
+++ b/src/main/java/freemarker/core/GetOptionalTemplateMethod.java
@@ -138,8 +138,8 @@ class GetOptionalTemplateMethod implements TemplateMethodModelEx {
             template = env.getTemplateForInclusion(absTemplateName, encoding, parse, true);
         } catch (IOException e) {
             throw new _TemplateModelException(
-                    e, "Error when trying to include template ", new _DelayedJQuote(absTemplateName)
-                        + "; see cause exception");
+                    e, "Error when trying to include template ", new _DelayedJQuote(absTemplateName),
+                        "; see cause exception");
         }
         
         SimpleHash result = new SimpleHash(env.getObjectWrapper());


Mime
View raw message