Issue #5287 - remove IllegalArgumentException from CompressionPool Entry
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
5dc0242986
commit
dd06008ff4
|
@ -114,9 +114,6 @@ public abstract class CompressionPool<T> extends AbstractLifeCycle
|
|||
|
||||
Entry(T value, Pool<Entry>.Entry entry)
|
||||
{
|
||||
if (entry != null && entry.getPooled() != value)
|
||||
throw new IllegalArgumentException("value does not match pooled entry");
|
||||
|
||||
_value = value;
|
||||
_entry = entry;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue