[ 
http://jira.codehaus.org/browse/DISPL-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99739
 ] 

Hiugong Gwok commented on DISPL-288:
------------------------------------

Change to Collection is not enough, it should also use instanceof to test 
getDecoratedObject() for Set, Map, etc.
Set, Map is not Collection.

> TableTotalDecorator ClassCastException
> --------------------------------------
>
>                 Key: DISPL-288
>                 URL: http://jira.codehaus.org/browse/DISPL-288
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Decorators
>    Affects Versions: 1.1
>            Reporter: Chris Widhelm
>            Priority: Minor
>             Fix For: 1.1.1
>
>
> On line 168 of org.displaytag.decorator.TotalTableDecorator it attempts to 
> cast the decoratedObject to a List.  Instead it should cast it to a 
> Collection.

-- 
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/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to