commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Nermut" <>
Subject [pool] fields in GenericKeyedObjectPool should be protected
Date Thu, 13 Oct 2005 05:49:49 GMT
I was trying to change the behaviour of GenericKeyedObjectPool.evict()
so that it would always leave at least one instance in each of the
However because all the fields in the class are private, and the evict()
method accesses all these fields directly, it is impossible.
What is the point of providing these generic classes if they can't be
effectively overriden without totally reimplementing them?
IMHO all private fields and methods in GenericKeyedObjectPool  should be
Jon Nermut

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message