Migrate OSGI compendium reference
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / AsyncReadOnlyTransaction.java
index 46c90b97560d440763d8b66f77ab10f998b6be7f..e2cd7bd4f6ab19c90047475656bc08c8f329e206 100644 (file)
@@ -20,6 +20,7 @@ import org.opendaylight.yangtools.concepts.Path;
  * @param <D>
  *            Type of data (payload), which represents data payload
  */
+@Deprecated(forRemoval = true)
 public interface AsyncReadOnlyTransaction<P extends Path<P>, D> extends AsyncReadTransaction<P, D>, AutoCloseable {
 
     /**
@@ -27,5 +28,5 @@ public interface AsyncReadOnlyTransaction<P extends Path<P>, D> extends AsyncRea
      *
      */
     @Override
-    public void close();
+    void close();
 }