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 d7e4201ae4 Fix IDE warnings d7e4201ae4 is described below commit d7e4201ae4a94556027e91e53e5c4f1332d43d54 Author: Mark Thomas <ma...@apache.org> AuthorDate: Sat Feb 3 10:48:27 2024 +0000 Fix IDE warnings --- java/org/apache/jasper/compiler/Generator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/jasper/compiler/Generator.java b/java/org/apache/jasper/compiler/Generator.java index 46a7238136..9c3756d3c1 100644 --- a/java/org/apache/jasper/compiler/Generator.java +++ b/java/org/apache/jasper/compiler/Generator.java @@ -639,7 +639,7 @@ class Generator { // Packages is never empty because o.a.j.Constants.STANDARD_IMPORTS // contains 3 packages and is always added to the imports. out.printin("_jspx_imports_packages = new java.util.LinkedHashSet<>("); - out.print(Integer.valueOf(packages.size())); + out.print(Integer.toString(packages.size())); out.print(");"); out.println(); for (String packageName : packages) { @@ -653,7 +653,7 @@ class Generator { out.println(); } else { out.printin("_jspx_imports_classes = new java.util.LinkedHashSet<>("); - out.print(Integer.valueOf(classes.size())); + out.print(Integer.toString(classes.size())); out.print(");"); out.println(); for (String className : classes) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org