fix modifier order (#3859)

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2019-07-09 17:51:05 +10:00 committed by GitHub
parent 24afe806fc
commit 433709a977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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<>();
}
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);
}
}
}