tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r937292 - /tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java
Date Fri, 23 Apr 2010 13:43:27 GMT
Author: markt
Date: Fri Apr 23 13:43:27 2010
New Revision: 937292

URL: http://svn.apache.org/viewvc?rev=937292&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49171
Fix IDE warning
Patch provided by sebb

Modified:
    tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java

Modified: tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java?rev=937292&r1=937291&r2=937292&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java Fri Apr 23 13:43:27 2010
@@ -92,7 +92,7 @@ public class TagSupport implements Itera
             }
 
             if ((isInterface && klass.isInstance(tag)) ||
-                klass.isAssignableFrom(tag.getClass())) {
+                    ((Class<?>)klass).isAssignableFrom(tag.getClass())) {
                 return tag;
             }
             from = tag;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message