You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/04/23 18:44:39 UTC

[tomcat] branch 9.0.x updated: Remove implicit unboxing

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

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


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

commit 9091fa08850cbc595b714cd87a1c0700809e291c
Author: Lars Grefer <la...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org