This utility is not used here, just in NETCONF, which can brew its
own. Deprecate it for removal.
Change-Id: I78ef26278be8f88049e13129f388de4f5b899b82
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* 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
}
}