@Override
    public void ensureCapacity(int minCapacity) {
        if ((!isLifecycleInUse) && (!isFinalized)) {
            super.ensureCapacity(minCapacity);
        } else {
            throw new IllegalStateException(DocDefaults.LIFECYCLE_IN_USE_OR_FINALIZED);
        }
    }