[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Created] (COLLECTIONS-380)
From:       "Dave Brosius (Created) (JIRA)" <jira () apache ! org>
Date:       2011-09-29 18:46:45
Message-ID: 1262480326.8636.1317322005752.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

UnmodifiableBoundedCollection.unmodifiableBoundedCollection is an infinite loop
-------------------------------------------------------------------------------

                 Key: COLLECTIONS-380
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-380
             Project: Commons Collections
          Issue Type: Bug
          Components: Collection
            Reporter: Dave Brosius
            Priority: Minor


This method, just calls itself. As BoundedCollection extends Collection, it would \
seem to me that this method should be removed:


    /**
     * Factory method to create an unmodifiable bounded collection.
     *
     * @param coll  the <code>BoundedCollection</code> to decorate, must not be null
     * @return a new unmodifiable bounded collection
     * @throws IllegalArgumentException if bag is null
     */
    public static <E> BoundedCollection<E> \
unmodifiableBoundedCollection(BoundedCollection<E> coll) {  return \
unmodifiableBoundedCollection(coll);  }


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira

        


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic