[ http://jira.codehaus.org/browse/DISPL-238?page=all ]
     
fabrizio giustina closed DISPL-238:
-----------------------------------

    Resolution: Fixed

also if css class order is not important I committed the fix, since a stable 
order could be useful for unit tests.

> org.displaytag.util.MultipleHtmlAttribute : css class composition is not safe 
> ------------------------------------------------------------------------------
>
>          Key: DISPL-238
>          URL: http://jira.codehaus.org/browse/DISPL-238
>      Project: DisplayTag
>         Type: Bug
>     Versions: 1.0
>      Fix For: 1.1
>  Attachments: MultipleHtmlAttribute.java
>
> Original Estimate: 2 minutes
>         Remaining: 2 minutes
>
> org.displaytag.util.MultipleHtmlAttribue use an HashSet to store the elements 
> of css class namùe composition. But HashSet is not order safe and the same 
> application deployed on a websphere 5.0.2 and websphere 5.1 does not have the 
> same name at the result.
> To resolve this bug you have to replace the HashSet use by a LinkedHashSet 
> (import and line 58).
> I may not create a patch since i does not have the rights tools at my office. 
> Therefore i attach you the replacement class (with only the two modification).

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



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to