Merge branch 'jetty-9.4.x' into jetty-10.0.x

This commit is contained in:
olivier lamy 2019-07-09 17:52:35 +10:00
commit 81f433a975
1 changed files with 4 additions and 4 deletions

View File

@ -47,11 +47,11 @@ public abstract class CompressionPool<T> extends AbstractLifeCycle
_pool = (_capacity == 0) ? null : new ConcurrentLinkedQueue<>(); _pool = (_capacity == 0) ? null : new ConcurrentLinkedQueue<>();
} }
abstract protected T newObject(); protected abstract T newObject();
abstract protected void end(T object); protected abstract void end(T object);
abstract protected void reset(T object); protected abstract void reset(T object);
/** /**
* @return Object taken from the pool if it is not empty or a newly created Object * @return Object taken from the pool if it is not empty or a newly created Object