The methhod is dominated by the specification from interafce,
hence this @NonNull is superfluous.
Change-Id: Iea9baa8b6ed3cd15fabcb306fd4481164f957375
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import com.google.common.collect.ForwardingObject;
import com.google.common.util.concurrent.FluentFuture;
import java.util.Optional;
-import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.mdsal.binding.api.DataBroker;
import org.opendaylight.mdsal.binding.api.ReadWriteTransaction;
import org.opendaylight.mdsal.binding.api.WriteTransaction;
}
@Override
- public @NonNull FluentFuture<? extends CommitInfo> commit() {
+ public FluentFuture<? extends CommitInfo> commit() {
throw new UnsupportedOperationException("Managed transactions must not be committed");
}