Bump odlparent to 3.1.2
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / databroker / actors / dds / ClientTransaction.java
index f0ce2faf085c09bd25a5f89648b8db8f98e92a1c..02ccde264ecfbd40eb6beae51386e61fa4a0163d 100644 (file)
@@ -53,7 +53,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
  * @author Robert Varga
  */
 @Beta
-public final class ClientTransaction extends AbstractClientHandle<AbstractProxyTransaction> {
+public class ClientTransaction extends AbstractClientHandle<AbstractProxyTransaction> {
 
     private ClientTransactionCursor cursor;
 
@@ -118,8 +118,8 @@ public final class ClientTransaction extends AbstractClientHandle<AbstractProxyT
         return parent().onTransactionReady(this, cohort);
     }
 
-    void closeCursor(@Nonnull final DOMDataTreeCursor cursor) {
-        if (cursor.equals(this.cursor)) {
+    void closeCursor(@Nonnull final DOMDataTreeCursor cursorToClose) {
+        if (cursorToClose.equals(this.cursor)) {
             this.cursor = null;
         }
     }