This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new ec782de Backport requires a cast ec782de is described below commit ec782ded387eb8a5d317bb41cdb68b9c03c872c3 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Jul 16 15:10:48 2021 +0100 Backport requires a cast --- test/org/apache/el/TestMethodExpressionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/el/TestMethodExpressionImpl.java b/test/org/apache/el/TestMethodExpressionImpl.java index b553a82..a1b5ade 100644 --- a/test/org/apache/el/TestMethodExpressionImpl.java +++ b/test/org/apache/el/TestMethodExpressionImpl.java @@ -758,7 +758,7 @@ public class TestMethodExpressionImpl { bean.setName("xyz"); elp.defineBean("bean2", bean); elp.defineBean("bean1", new TesterBeanI()); - String elResult = elp.eval("bean1.echo(bean2)"); + String elResult = (String) elp.eval("bean1.echo(bean2)"); Assert.assertEquals("No varargs: xyz", elResult); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org