Pool.java back to the original
This commit is contained in:
@@ -24,7 +24,7 @@ public abstract class Pool<T> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void returnResource(final Object resource) {
|
public void returnResource(final T resource) {
|
||||||
try {
|
try {
|
||||||
internalPool.returnObject(resource);
|
internalPool.returnObject(resource);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user