This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 67670faa84 Fix IDE warnings
67670faa84 is described below
commit 67670faa84aeb8fec6c3238fce893ac106cf28f9
Author: Mark Thomas <[email protected]>
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 5a2d2a28ea..a197251454 100644
--- a/java/org/apache/jasper/compiler/Node.java
+++ b/java/org/apache/jasper/compiler/Node.java
@@ -1598,7 +1598,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)));
}
}
@@ -1620,7 +1621,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: [email protected]
For additional commands, e-mail: [email protected]