Updated visibility for constructor + readme
This commit is contained in:
parent
36a0ad72c8
commit
411e902380
|
@ -44,7 +44,7 @@ Usage:
|
|||
<dependency>
|
||||
<groupId>com.dorkbox</groupId>
|
||||
<artifactId>ObjectPool</artifactId>
|
||||
<version>1.7</version>
|
||||
<version>1.8</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
@ -53,3 +53,4 @@ https://oss.sonatype.org/content/repositories/releases/com/dorkbox/ObjectPool/
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ class ObjectPool<T> {
|
|||
private final ArrayBlockingQueue<T> queue;
|
||||
private final PoolableObject<T> poolableObject;
|
||||
|
||||
public
|
||||
ObjectPool(PoolableObject<T> poolableObject, int size) {
|
||||
this.poolableObject = poolableObject;
|
||||
|
||||
|
|
Loading…
Reference in New Issue