freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [05/50] [abbrv] incubator-freemarker git commit: (Added toString to StringTemplateSource)
Date Wed, 01 Mar 2017 14:21:03 GMT
(Added toString to StringTemplateSource)


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

Branch: refs/heads/2.3
Commit: dd2c6a36ef588e73999bebb7b51dd9717b0df42c
Parents: 6105420
Author: ddekany <ddekany@apache.org>
Authored: Sun Feb 5 19:14:02 2017 +0100
Committer: ddekany <ddekany@apache.org>
Committed: Sun Feb 5 19:14:02 2017 +0100

----------------------------------------------------------------------
 src/main/java/freemarker/cache/StringTemplateLoader.java | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/dd2c6a36/src/main/java/freemarker/cache/StringTemplateLoader.java
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/cache/StringTemplateLoader.java b/src/main/java/freemarker/cache/StringTemplateLoader.java
index 8b8bd4a..25abd35 100644
--- a/src/main/java/freemarker/cache/StringTemplateLoader.java
+++ b/src/main/java/freemarker/cache/StringTemplateLoader.java
@@ -154,6 +154,12 @@ public class StringTemplateLoader implements TemplateLoader {
         public int hashCode() {
             return name.hashCode();
         }
+        
+        @Override
+        public String toString() {
+            return name;
+        }
+        
     }
     
     /**


Mime
View raw message