You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/10/03 15:55:04 UTC

[tomcat] branch 8.5.x updated: Remove unnecessary @SuppressWarnings

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 7637860  Remove unnecessary @SuppressWarnings
7637860 is described below

commit 7637860b10858acc4eadb3a00f05270b1fb05c56
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org