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 aa3329de72 Fix IDE warnings aa3329de72 is described below commit aa3329de726831a5b22ce48695a8268a25a2fec8 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Sep 21 16:33:20 2023 +0100 Fix IDE warnings --- java/org/apache/jasper/compiler/Node.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/java/org/apache/jasper/compiler/Node.java b/java/org/apache/jasper/compiler/Node.java index cc46b7399a..0306b16fcc 100644 --- a/java/org/apache/jasper/compiler/Node.java +++ b/java/org/apache/jasper/compiler/Node.java @@ -1680,7 +1680,8 @@ abstract class Node implements TagConstants { this.nestedScriptingVars = vec; break; default: - throw new IllegalArgumentException(Localizer.getMessage("jsp.error.page.invalid.varscope", scope)); + throw new IllegalArgumentException( + Localizer.getMessage("jsp.error.page.invalid.varscope", Integer.valueOf(scope))); } } @@ -1702,7 +1703,8 @@ abstract class Node implements TagConstants { vec = this.nestedScriptingVars; break; default: - throw new IllegalArgumentException(Localizer.getMessage("jsp.error.page.invalid.varscope", scope)); + throw new IllegalArgumentException( + Localizer.getMessage("jsp.error.page.invalid.varscope", Integer.valueOf(scope))); } return vec; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org