This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 7.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push: new 71bcaa3 Remove unnecessary @SuppressWarnings 71bcaa3 is described below commit 71bcaa3be2cd91b6cc26995b2c2ef238a7db150e Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Oct 3 16:54:01 2019 +0100 Remove unnecessary @SuppressWarnings --- java/javax/el/BeanELResolver.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java/javax/el/BeanELResolver.java b/java/javax/el/BeanELResolver.java index 6ad6af1..78cfd4c 100644 --- a/java/javax/el/BeanELResolver.java +++ b/java/javax/el/BeanELResolver.java @@ -300,9 +300,7 @@ public class BeanELResolver extends ELResolver { this.type = descriptor.getPropertyType(); } - // Can't use Class<?> because API needs to match specification - @SuppressWarnings("rawtypes") - public Class getPropertyType() { + public Class<?> getPropertyType() { return this.type; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org