Skip to content

Commit

Permalink
Enhanced fix for #5855
Browse files Browse the repository at this point in the history
fixed javadoc
  • Loading branch information
gregw committed Jan 6, 2021
1 parent 950b11a commit 851ba75
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jetty-util/src/main/java/org/eclipse/jetty/util/Pool.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,10 @@ public Entry reserve(int allotment)
* The returned entry must ultimately have the {@link Entry#enable(Object, boolean)}
* method called or be removed via {@link Pool.Entry#remove()} or
* {@link Pool#remove(Pool.Entry)}.
* <p>For multiplexed entries, a call to reserve may return null if a previously
* reserved entry has excess capacity, which is determined by each call to
* reserve() incrementing demand. </p>
*
* @return a disabled entry that is contained in the pool,
* or null if the pool is closed or if the pool already contains
* {@link #getMaxEntries()} entries, or the allotment has already been reserved
* {@link #getMaxEntries()} entries
*/
public Entry reserve()
{
Expand Down

0 comments on commit 851ba75

Please sign in to comment.