Remove duplicate assignment 88/81788/2
authorJie Han <han.jie@zte.com.cn>
Fri, 26 Apr 2019 03:57:00 +0000 (11:57 +0800)
committerJie Han <han.jie@zte.com.cn>
Fri, 26 Apr 2019 06:52:26 +0000 (06:52 +0000)
Since it has been in a synchronized block, just remove
this line.

Change-Id: I3f6159640d76c4027ff97be447351cc8668e57d9
Signed-off-by: Jie Han <han.jie@zte.com.cn>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/NetconfDevice.java

index ede7dddc2839429d725040d3cb5424eee3a50cfc..84194ea3a55e2051b789a8d6417ff0e2f3c7c67b 100644 (file)
@@ -236,7 +236,6 @@ public class NetconfDevice
                         ? BaseSchema.BASE_NETCONF_CTX_WITH_NOTIFICATIONS : BaseSchema.BASE_NETCONF_CTX;
             this.messageTransformer = new NetconfMessageTransformer(result, true, baseSchema);
 
-            updateTransformer(this.messageTransformer);
             // salFacade.onDeviceConnected has to be called before the notification handler is initialized
             this.salFacade.onDeviceConnected(result, remoteSessionCapabilities, deviceRpc,
                     this.deviceActionFactory == null ? null : this.deviceActionFactory.createDeviceAction(