Remove remaining use of compat DTO methods
[netconf.git] / netconf / netconf-impl / src / main / java / org / opendaylight / netconf / impl / NetconfServerSession.java
index 4c263402c3f73342b41e1ec515839b694e9d55c4..ba779b11213fd6d02cba05d3e2ae5e4acbc8a23f 100644 (file)
@@ -143,7 +143,7 @@ public final class NetconfServerSession extends AbstractNetconfSession<NetconfSe
         builder.setUsername(header.getUserName());
         builder.setTransport(getTransportForString(header.getTransport()));
 
-        builder.setOutNotifications(new ZeroBasedCounter32(outNotification));
+        builder.setOutNotifications(new ZeroBasedCounter32(Uint32.valueOf(outNotification)));
 
         builder.withKey(new SessionKey(Uint32.valueOf(getSessionId())));