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

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


The following commit(s) were added to refs/heads/main by this push:
     new 46737c5008 Fix IDE warnings
46737c5008 is described below

commit 46737c5008f21b9612e51510472ddf7ab1b6cc7c
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 451a7a1ad1..eaa2f1af53 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