[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3812) Documentation says bags are Lists in Java, but are not

Jaka Jancar (JIRA) noreply at atlassian.com
Wed Mar 11 22:42:40 EDT 2009


Documentation says bags are Lists in Java, but are not
------------------------------------------------------

                 Key: HHH-3812
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3812
             Project: Hibernate Core
          Issue Type: Bug
          Components: documentation, envers
            Reporter: Jaka Jancar
            Priority: Minor


Minor documentation bug:

http://jboss.org/files/envers/docs/index.html#exceptions-wontbesupported begins with:
> Bags (the corresponding Java type is List), as they can contain non-unique elements.

But Lists are not actually bags, since they are ordered.

As http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html says:
> Bags or multisets (unordered collections that may contain duplicate elements) should implement this interface directly.

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

        



More information about the hibernate-issues mailing list