private void ensureAvailable() throws IOException { if (closed) { throw new IOException("Log " + getName() + " is already closed, cannot append!"); } if (!initialized) { init(); } }
private void ensureAvailable() throws IOException { if (closed) { throw new IOException("Log " + getName() + " is already closed, cannot append!"); } if (!initialized) { init(); } }