Fixed Restconf bug on reading Operational Data. 13/2613/1
authorEd Warnicke <eaw@cisco.com>
Mon, 11 Nov 2013 15:55:45 +0000 (09:55 -0600)
committerEd Warnicke <eaw@cisco.com>
Mon, 11 Nov 2013 15:55:45 +0000 (09:55 -0600)
Change-Id: If84906b198d6da8c925072e1b444104203caa14c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
opendaylight/md-sal/sal-common-impl/src/main/java/org/opendaylight/controller/md/sal/common/impl/AbstractDataModification.java

index c335b75..c9e1d6e 100644 (file)
@@ -1,8 +1,8 @@
 package org.opendaylight.controller.md.sal.common.impl;
 
+import static org.opendaylight.controller.md.sal.common.api.TransactionStatus.NEW;
+
 import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
@@ -10,9 +10,6 @@ import java.util.concurrent.ConcurrentMap;
 
 import org.opendaylight.controller.md.sal.common.api.data.DataModification;
 import org.opendaylight.controller.md.sal.common.api.data.DataReader;
-import org.opendaylight.yangtools.concepts.Path;
-
-import static org.opendaylight.controller.md.sal.common.api.TransactionStatus.NEW;
 
 public abstract class AbstractDataModification<P /* extends Path<P> */, D> implements DataModification<P, D> {
 
@@ -86,7 +83,7 @@ public abstract class AbstractDataModification<P /* extends Path<P> */, D> imple
 
     @Override
     public final void putRuntimeData(P path, D data) {
-        putRuntimeData(path, data);
+        putOperationalData(path, data);
     }
 
     @Override