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

markt 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 110e084  Remove implicit unboxing
110e084 is described below

commit 110e084a34ac61d36202abb60bffd384e2217e38
Author: Lars Grefer <lars.gre...@materna.de>
AuthorDate: Thu Apr 23 18:44:58 2020 +0200

    Remove implicit unboxing
---
 test/webapp/jsp/pageContext1.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/webapp/jsp/pageContext1.jsp b/test/webapp/jsp/pageContext1.jsp
index 0d0062f..d4bb322 100644
--- a/test/webapp/jsp/pageContext1.jsp
+++ b/test/webapp/jsp/pageContext1.jsp
@@ -16,7 +16,7 @@
 --%>
 <%@ page import="java.io.IOException" contentType="text/plain"%>
 <%
-    boolean flush = Boolean.valueOf(request.getParameter("flush"));
+    boolean flush = Boolean.parseBoolean(request.getParameter("flush"));
     if (pageContext != null) {
         try {
             if (flush) {


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

Reply via email to