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 e220150  Remove unnecessary @SuppressWarnings
e220150 is described below

commit e2201508e0327eaf7946c3e5193b6ee966196a37
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 9372854..e4fa72a 100644
--- a/java/javax/el/BeanELResolver.java
+++ b/java/javax/el/BeanELResolver.java
@@ -289,9 +289,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

Reply via email to