Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rylern committed Apr 9, 2024
1 parent 26790f2 commit fb11469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/qupath/ext/omero/core/ObjectPool.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ private record ObjectWrapper<V>(Optional<V> object, boolean useThisObject) {}
/**
* Create the pool of objects. This will not create any object yet.
*
* @param size the capacity of the pool
* @param objectCreator a function to create an object
* @param size the capacity of the pool (greater than 0)
* @param objectCreator a function to create an object. It is allowed to return null
* @throws IllegalArgumentException when size is less than 1
*/
public ObjectPool(int size, Supplier<E> objectCreator) {
Expand Down

0 comments on commit fb11469

Please sign in to comment.