* An AutoCloseable that does nothing.
*
* @author Thomas Pantelis
+ * @deprecated This class is no longer used in this project and is scheduled for removal.
*/
+@Deprecated(forRemoval = true)
public final class NoopAutoCloseable implements AutoCloseable {
public static final NoopAutoCloseable INSTANCE = new NoopAutoCloseable();
private NoopAutoCloseable() {
+ // Hidden on purpose
}
@Override
public void close() {
+ // Noop
}
}