Skip to content

Commit

Permalink
Issue #5287 - remove IllegalArgumentException from CompressionPool Entry
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts committed Oct 14, 2020
1 parent 5dc0242 commit dd06008
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ public class Entry implements Closeable

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;
}
Expand Down

0 comments on commit dd06008

Please sign in to comment.