commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject [pool] should addObject return a boolean?
Date Wed, 21 Sep 2011 02:53:06 GMT
When GKOP or GOP pools lack capacity, addObject does nothing.  In
some cases (I am dealing with one now internally to GKOP), it would
be good to know if an instance was actually added or not.  How about
changing the interface (both OP and KOP versions) to return a
boolean with true indicating that a new instance was actually
created and added to the pool?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message