You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pavel Stetsuk (JIRA)" <de...@myfaces.apache.org> on 2006/03/31 07:40:29 UTC

[jira] Closed: (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 ]
     
Pavel Stetsuk closed MYFACES-626:
---------------------------------

    Resolution: Fixed

see MYFACES-689

> 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 Core
>         Type: Bug
>   Components: General
>     Versions: 1.1.0
>  Environment: w2k, jboss-4.0.2, tomcat55 
>     Reporter: Pavel Stetsuk
>     Assignee: Manfred Geiler
>      Fix For: 1.1.2-SNAPSHOT

>
>                 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