freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [21/25] incubator-freemarker git commit: More helpful warning log message when no ObjectWrapper was specified for the TaglibFactory.
Date Sun, 29 Nov 2015 12:13:27 GMT
More helpful warning log message when no ObjectWrapper was specified for the TaglibFactory.


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

Branch: refs/heads/master
Commit: 947428ae9c42e6a1aa8df82bfd95efc3938362c9
Parents: 52a618e
Author: ddekany <ddekany@apache.org>
Authored: Tue Nov 24 22:36:53 2015 +0100
Committer: ddekany <ddekany@apache.org>
Committed: Tue Nov 24 22:36:53 2015 +0100

----------------------------------------------------------------------
 src/main/java/freemarker/ext/jsp/TaglibFactory.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/947428ae/src/main/java/freemarker/ext/jsp/TaglibFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/jsp/TaglibFactory.java b/src/main/java/freemarker/ext/jsp/TaglibFactory.java
index 73f0414..0be4d9d 100644
--- a/src/main/java/freemarker/ext/jsp/TaglibFactory.java
+++ b/src/main/java/freemarker/ext/jsp/TaglibFactory.java
@@ -1641,7 +1641,8 @@ public class TaglibFactory implements TemplateHashModel {
                 if (LOG.isWarnEnabled()) {
                     LOG.warn("Custom EL functions won't be loaded because "
                             + (wrapper == null
-                                    ? "no ObjectWrapper was specified "
+                                    ? "no ObjectWrapper was specified for the TaglibFactory
"
+                                            + "(via TaglibFactory.setObjectWrapper(...),
exists since 2.3.22)"
                                     : "the ObjectWrapper wasn't instance of " + BeansWrapper.class.getName())
                             + ".");
                 }


Mime
View raw message