DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38649>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38649 Summary: [pool] Generic[Keyed]ObjectPool.ObjectTimestampPair can be static and can be shared Product: Commons Version: unspecified Platform: All URL: http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper /pool/trunk/src/java/org/apache/commons/pool/impl/ OS/Version: All Status: NEW Keywords: PatchAvailable Severity: enhancement Priority: P4 Component: Pool AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The GenericObjectPools both have a package scoped inner class named ObjectTimestampPair. This inner class can be static, which saves a reference back to it's parent class and a very small bit of overhead. Once they are static then the same implementation can be shared between the two GenericObjectPools. This patch does just that. Since ObjectTimestampPair inner class is package scoped this won't have any affect on API compatability. FindBugs http://findbugs.sourceforge.net/ deserves credit for detecting that the inner class could be static. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
