Remove @NotThreadSafe annotations
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / tree / DataTreeSnapshotCursor.java
index 575fa712d0233bdd0c4377a4c140b8ac27ad9358..2a95455d7fadf5765cabb4d450b0021dcdac24d1 100644 (file)
@@ -10,18 +10,15 @@ package org.opendaylight.yangtools.yang.data.api.schema.tree;
 import com.google.common.annotations.Beta;
 import java.util.Optional;
 import javax.annotation.Nonnull;
-import javax.annotation.concurrent.NotThreadSafe;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer;
 
 /**
- * A cursor holding a logical position within a {@link DataTreeSnapshot}. It allows
- * operations relative to that position, as well as moving the position up or down
- * the tree.
+ * A cursor holding a logical position within a {@link DataTreeSnapshot}. It allows operations relative to that
+ * position, as well as moving the position up or down the tree. Implementations are expected to be NOT thread-safe.
  */
 @Beta
-@NotThreadSafe
 public interface DataTreeSnapshotCursor extends AutoCloseable {
     /**
      * Move the cursor to the specified child of the current position.