From 851ba756a30ff8a600503e2f41fa4cdc61cccda1 Mon Sep 17 00:00:00 2001 From: gregw Date: Wed, 6 Jan 2021 15:36:08 +0100 Subject: [PATCH] Enhanced fix for #5855 fixed javadoc --- jetty-util/src/main/java/org/eclipse/jetty/util/Pool.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/Pool.java b/jetty-util/src/main/java/org/eclipse/jetty/util/Pool.java index fef52adc8a44..c2f0c7c2ae4c 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/Pool.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/Pool.java @@ -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)}. - *

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.

* * @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() {