Skip to content

Commit

Permalink
[POOL-238] Add Supression Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Raju Kumar Gupta committed Dec 18, 2024
1 parent e6ed59e commit 3f7e441
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ protected boolean isLifo() {
return false;
}

@SuppressWarnings("unchecked")
@Override
protected <T, E extends Exception> ObjectPool<T, E> makeEmptyPool(final int cap) {
return (ObjectPool<T, E>) new SoftReferenceObjectPool<>(new SimpleFactory());
Expand Down

0 comments on commit 3f7e441

Please sign in to comment.