DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14889>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14889 ReferenceMap contract Summary: ReferenceMap contract Product: Commons Version: 1.0 Beta 1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Collections AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I switched from SoftRefHashMap to ReferenceMap and I noticed that the purge method as become private and is called in many places in the source code, but the documentation for the method states that it is called only for write operations. I must be sure that the stale mappings are removed for read operations too (ex:size) and though currently the implementation calls purge() for all read methods as well this may change in the future. I think that calling purge on all [relevant] public methods is the right approach to preserve a coherent state. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>