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

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

commit 889d411d547e99e9a1c59f3b357ddd55f49b9527
Author: ddekany <[email protected]>
AuthorDate: Wed Jan 1 20:06:41 2020 +0100

    Deprecated FreemarkerTag (a custom JSP tag that probably nobody uses)
---
 src/main/java/freemarker/ext/jsp/FreemarkerTag.java   | 4 ++++
 src/main/java/freemarker/ext/jsp/JspContextModel.java | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/src/main/java/freemarker/ext/jsp/FreemarkerTag.java 
b/src/main/java/freemarker/ext/jsp/FreemarkerTag.java
index 837ce3f..a4de5e4 100644
--- a/src/main/java/freemarker/ext/jsp/FreemarkerTag.java
+++ b/src/main/java/freemarker/ext/jsp/FreemarkerTag.java
@@ -28,6 +28,7 @@ import javax.servlet.jsp.tagext.BodyContent;
 import javax.servlet.jsp.tagext.BodyTag;
 import javax.servlet.jsp.tagext.Tag;
 
+import freemarker.template.Configuration;
 import freemarker.template.SimpleHash;
 import freemarker.template.Template;
 
@@ -35,7 +36,10 @@ import freemarker.template.Template;
  * Simple implementation of JSP tag to allow use of FreeMarker templates in
  * JSP. Inspired by similar class in Velocity template engine developed by
  * <a href="mailto:[email protected]";>Geir Magnusson Jr.</a>
+ *
+ * @Deprecated This feature is not supported anymore, also, it uses the 
deprecated default {@link Configuration}.
  */
+@Deprecated
 public class FreemarkerTag implements BodyTag {
     private Tag parent;
     private BodyContent bodyContent;
diff --git a/src/main/java/freemarker/ext/jsp/JspContextModel.java 
b/src/main/java/freemarker/ext/jsp/JspContextModel.java
index 3c28468..bd824f0 100644
--- a/src/main/java/freemarker/ext/jsp/JspContextModel.java
+++ b/src/main/java/freemarker/ext/jsp/JspContextModel.java
@@ -26,6 +26,10 @@ import freemarker.template.TemplateHashModel;
 import freemarker.template.TemplateModel;
 import freemarker.template.TemplateModelException;
 
+/**
+ * @Deprecated This is used by the deprecated {@link FreemarkerTag}.
+ */
+@Deprecated
 class JspContextModel
 implements
     TemplateHashModel {

Reply via email to