Issue #5287 - remove IllegalArgumentException from CompressionPool Entry

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-09-23 14:31:57 +10:00
parent 5dc0242986
commit dd06008ff4
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}