package org.opendaylight.mdsal.dom.api;
import com.google.common.util.concurrent.FluentFuture;
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.mdsal.common.api.CommitInfo;
import org.opendaylight.mdsal.common.api.TransactionCommitFailedException;
* @throws IllegalStateException when there's an open cursor, or this transaction is closed already.
*/
@Override
- @Nullable DOMDataTreeWriteCursor createCursor(@Nonnull DOMDataTreeIdentifier path);
+ DOMDataTreeWriteCursor createCursor(DOMDataTreeIdentifier path);
/**
* Cancels the transaction.
* Invoking cancel() on a finished transaction (future returned by {@link #commit()} already
* successfully completed will always fail (return false).
*
- * @return <tt>false</tt> if the task could not be cancelled, typically because it has already
- * completed normally; <tt>true</tt> otherwise
- *
+ * @return {@code false} if the task could not be cancelled, typically because it has already
+ * completed normally; {@code true} otherwise
*/
boolean cancel();