garydgregory commented on code in PR #230:
URL: https://github.com/apache/commons-pool/pull/230#discussion_r1263777535
##########
src/main/java/org/apache/commons/pool2/PooledObject.java:
##########
@@ -33,6 +34,8 @@
*/
public interface PooledObject<T> extends Comparable<PooledObject<T>> {
+ ReentrantLock lock = new ReentrantLock();
Review Comment:
A global variable? That sounds like an anti-pattern. -1 unless you can
explain what I am misunderstanding.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]