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 2024/02/03 10:50:09 UTC
(tomcat) branch 8.5.x updated: Fix IDE warnings
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new c98664fbfc Fix IDE warnings
c98664fbfc is described below
commit c98664fbfcf4c16b76dfd115a8f11d2b83fcdb5d
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 8d84f818a9..2b9e4636f5 100644
--- a/java/org/apache/jasper/compiler/Generator.java
+++ b/java/org/apache/jasper/compiler/Generator.java
@@ -632,7 +632,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) {
@@ -646,7 +646,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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org