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

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 8f17f57585 Fix IDE warnings
8f17f57585 is described below

commit 8f17f57585be4422cc5575b5e187befe739459c1
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Feb 13 00:07:49 2024 +0000

    Fix IDE warnings
---
 webapps/examples/WEB-INF/classes/RequestHeaderExample.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webapps/examples/WEB-INF/classes/RequestHeaderExample.java 
b/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
index 0cff06402f..df2d2d51f7 100644
--- a/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
+++ b/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
@@ -89,7 +89,7 @@ public class RequestHeaderExample extends HttpServlet {
 
     protected void renderHTML(HttpServletRequest request,
                               HttpServletResponse response)
-        throws IOException, ServletException
+        throws IOException
     {
         ResourceBundle rb = 
ResourceBundle.getBundle("LocalStrings",request.getLocale());
 
@@ -144,7 +144,7 @@ public class RequestHeaderExample extends HttpServlet {
     }
 
     protected void renderJSON(HttpServletRequest request, HttpServletResponse 
response)
-        throws IOException, ServletException
+        throws IOException
     {
         response.setContentType("application/json");
         response.setCharacterEncoding("UTF-8");


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to