Fixed discard-changes for mdsal netconf, mapping code cleanup.
[controller.git] / opendaylight / netconf / mdsal-netconf-connector / src / main / java / org / opendaylight / controller / netconf / mdsal / connector / ops / get / Get.java
index cebd8c88837547f0f2d2f573ca0e2e81ed03e67a..b62734baf09267702c1548f74716bc6c5d3a1cc2 100644 (file)
@@ -42,14 +42,6 @@ public class Get extends AbstractGet {
 
     @Override
     protected Element handleWithNoSubsequentOperations(Document document, XmlElement operationElement) throws NetconfDocumentedException {
-        GetConfigExecution getConfigExecution = null;
-        try {
-            getConfigExecution = GetConfigExecution.fromXml(operationElement, OPERATION_NAME);
-
-        } catch (final NetconfDocumentedException e) {
-            LOG.warn("Get request processing failed on session: {}", getNetconfSessionIdForReporting(), e);
-            throw e;
-        }
 
         final YangInstanceIdentifier dataRoot = ROOT;
         DOMDataReadWriteTransaction rwTx = getTransaction(Datastore.running);