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

        

Reply via email to