Class NoopAutoCloseable

  • All Implemented Interfaces:
    AutoCloseable

    @Deprecated(forRemoval=true)
    public final class NoopAutoCloseable
    extends Object
    implements AutoCloseable
    Deprecated, for removal: This API element is subject to removal in a future version.
    This class is no longer used in this project and is scheduled for removal.
    An AutoCloseable that does nothing.
    Author:
    Thomas Pantelis
    • Field Detail

      • INSTANCE

        public static final NoopAutoCloseable INSTANCE
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • close

        public void close()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        close in interface AutoCloseable