All Downloads are FREE. Search and download functionalities are using the official Maven repository.

internal.io.text.UncloseableWriter Maven / Gradle / Ivy

package internal.io.text;

import lombok.NonNull;

import java.io.Closeable;
import java.io.Reader;
import java.io.Writer;

//@MightBePromoted
@lombok.AllArgsConstructor
public final class UncloseableWriter extends Writer {

    @lombok.experimental.Delegate(excludes = Closeable.class)
    private final @NonNull Writer delegate;

    @Override
    public void close() {
        // do nothing
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy