Fix checkstyle reported by odlparent-3.0.0
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / databroker / actors / dds / ClientTransaction.java
index efa503a90c0f3a8c909222a0c13d624a50111ba3..02ccde264ecfbd40eb6beae51386e61fa4a0163d 100644 (file)
@@ -118,8 +118,8 @@ public class ClientTransaction extends AbstractClientHandle<AbstractProxyTransac
         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;
         }
     }