This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 3d996c7 Simplify code. Identified by Coverity Scan. 3d996c7 is described below commit 3d996c769ea6fbed0f44bf5fdee8edaeaa4d3c5a Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed May 22 15:34:12 2019 +0100 Simplify code. Identified by Coverity Scan. --- java/org/apache/jasper/compiler/JspUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/jasper/compiler/JspUtil.java b/java/org/apache/jasper/compiler/JspUtil.java index a3411bd..96bd538 100644 --- a/java/org/apache/jasper/compiler/JspUtil.java +++ b/java/org/apache/jasper/compiler/JspUtil.java @@ -296,7 +296,7 @@ public class JspUtil { c = double.class; } else if ("void".equals(type)) { c = void.class; - } else if (type.indexOf('[') < 0) { + } else { c = loader.loadClass(type); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org