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

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


The following commit(s) were added to refs/heads/7.0.x by this push:
     new a006140  Remove implicit unboxing
a006140 is described below

commit a0061404c2cea4fec4f3dc8bc6ff662abd26cabe
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