commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (POOL-198) LinkedBlockingDeque has some non-private fields, and a package-protected internal method
Date Tue, 13 Dec 2011 01:31:31 GMT
LinkedBlockingDeque has some non-private fields, and a package-protected internal method
----------------------------------------------------------------------------------------

                 Key: POOL-198
                 URL: https://issues.apache.org/jira/browse/POOL-198
             Project: Commons Pool
          Issue Type: Bug
            Reporter: Sebb


LinkedBlockingDeque has non-private mutable fields first, last and lock - these should be
private.

Also the method void unlink(Node<E> x) is package-protected; it should be private unless
there's a very good reason to allow it to be accessed/overridden externally - in which case
it the locking conditions need to be documented.

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

        

Mime
View raw message