Skip to content

Commit

Permalink
[POOL-238] Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Raju Kumar Gupta committed Dec 18, 2024
1 parent 68aee49 commit e6ed59e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected boolean isLifo() {

@Override
protected <T, E extends Exception> ObjectPool<T, E> makeEmptyPool(final int cap) {
return (ObjectPool<T, E>)makeEmptyPool(new SimpleFactory());
return (ObjectPool<T, E>) new SoftReferenceObjectPool<>(new SimpleFactory());
}

@Override
Expand Down

0 comments on commit e6ed59e

Please sign in to comment.