You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Howard Abrams (JIRA)" <de...@myfaces.apache.org> on 2005/11/21 11:56:43 UTC
[jira] Updated: (MYFACES-626) org.apache.myfaces.el.getType(Object base, int index) return null if base instanceof Object[]
[ http://issues.apache.org/jira/browse/MYFACES-626?page=all ]
Howard Abrams updated MYFACES-626:
----------------------------------
Fix Version: 1.1.3
> org.apache.myfaces.el.getType(Object base, int index) return null if base instanceof Object[]
> ---------------------------------------------------------------------------------------------
>
> Key: MYFACES-626
> URL: http://issues.apache.org/jira/browse/MYFACES-626
> Project: MyFaces
> Type: Bug
> Components: Implementation
> Versions: 1.1.0
> Environment: w2k, jboss-4.0.2, tomcat55
> Reporter: Pavel Stetsuk
> Fix For: 1.1.3
>
> if (base instanceof Object[] && ((Object[])base)[index] != null) {
> Object[] array = (Object[]) base;
> return array[index].getClass().getComponentType(); == return null
> .....
> getComponentType() returns the Class representing the component type of an array. If this class does not represent an array class this method returns null.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira