Bump upstreams
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / sal / tx / WriteCandidateTx.java
index 3ea7045ff00c979fe1fc0a74923895cc71b63508..eeb41f72985dd24d41f9b484fd06cc7e51a685cc 100644 (file)
@@ -69,7 +69,7 @@ public class WriteCandidateTx extends AbstractWriteTx {
             LOG.trace("Lock is not allowed.");
             return;
         }
-        final FutureCallback<DOMRpcResult> lockCandidateCallback = new FutureCallback<>() {
+        final var lockCandidateCallback = new FutureCallback<DOMRpcResult>() {
             @Override
             public void onSuccess(final DOMRpcResult result) {
                 if (isSuccess(result)) {
@@ -77,7 +77,7 @@ public class WriteCandidateTx extends AbstractWriteTx {
                         LOG.trace("Lock candidate successful");
                     }
                 } else {
-                    LOG.warn("{}: lock candidate invoked unsuccessfully: {}", id, result.getErrors());
+                    LOG.warn("{}: lock candidate invoked unsuccessfully: {}", id, result.errors());
                 }
             }