fix modifier order (#3859)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
24afe806fc
commit
433709a977
|
@ -47,11 +47,11 @@ public abstract class CompressionPool<T> extends AbstractLifeCycle
|
|||
_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
|
||||
|
@ -125,4 +125,4 @@ public abstract class CompressionPool<T> extends AbstractLifeCycle
|
|||
}
|
||||
_numObjects.set(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue