Deprecate NoopAutoCloseable for removal
[controller.git] / opendaylight / md-sal / sal-common-util / src / main / java / org / opendaylight / controller / sal / common / util / NoopAutoCloseable.java
index 7f95f9632c24d2148cb3562653eeb45bee3c79c0..298b143bf3109f0b17dc4ad3c8c55dcfcd575660 100644 (file)
@@ -11,14 +11,18 @@ package org.opendaylight.controller.sal.common.util;
  * 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
     }
 }