Inconsistency in ListAttributeType
----------------------------------

                 Key: GEOT-1371
                 URL: http://jira.codehaus.org/browse/GEOT-1371
             Project: GeoTools
          Issue Type: Bug
          Components: core feature
    Affects Versions: 2.3.3
            Reporter: Wim van Berkel


The parse method on ListAttributeType expects the input to be of type Object[] 
and returns an Object[] as its result.
The validate method expects a List.

So when for instance the setAttribute of the DefaultFeature class first invokes 
parse() on a ListAttributeType it gets a Object[] as the returned value. It 
subsequently invokes validate() with that Object[] which then throws an 
excpetion because it expects a List.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to