You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2020/01/15 11:51:15 UTC
[tomcat] branch master updated: Remove deprecated method
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 9378f6d Remove deprecated method
9378f6d is described below
commit 9378f6db9525c9ba7b8783d82c9a180b253882d9
Author: remm <re...@apache.org>
AuthorDate: Wed Jan 15 12:51:04 2020 +0100
Remove deprecated method
---
.../apache/catalina/servlets/DefaultServlet.java | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/java/org/apache/catalina/servlets/DefaultServlet.java b/java/org/apache/catalina/servlets/DefaultServlet.java
index 2a69ab7..73a9f47 100644
--- a/java/org/apache/catalina/servlets/DefaultServlet.java
+++ b/java/org/apache/catalina/servlets/DefaultServlet.java
@@ -1565,27 +1565,6 @@ public class DefaultServlet extends HttpServlet {
/**
* Decide which way to render. HTML or XML.
*
- * @param contextPath The path
- * @param resource The resource
- * @param encoding The encoding to use to process the readme (if any)
- *
- * @return the input stream with the rendered output
- *
- * @throws IOException an IO error occurred
- * @throws ServletException rendering error
- *
- * @deprecated Use {@link #render(HttpServletRequest, String, WebResource, String)} instead
- */
- @Deprecated
- protected InputStream render(String contextPath, WebResource resource, String encoding)
- throws IOException, ServletException {
-
- return render(null, contextPath, resource, encoding);
- }
-
- /**
- * Decide which way to render. HTML or XML.
- *
* @param request The HttpServletRequest being served
* @param contextPath The path
* @param resource The resource
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org