Bump upstreams
[netconf.git] / apps / callhome-provider / src / main / java / org / opendaylight / netconf / callhome / mount / ContextKey.java
index f6f21c67406b515a88067c5b0169ee89d450d8e3..729dff2a56576e4d65db967da9f7b0ff7a61c6cb 100644 (file)
@@ -73,10 +73,10 @@ class ContextKey {
 
         final IpAddress yangIp;
         if (ipAddress instanceof Inet4Address) {
-            yangIp = new IpAddress(IetfInetUtil.INSTANCE.ipv4AddressFor(ipAddress));
+            yangIp = new IpAddress(IetfInetUtil.ipv4AddressFor(ipAddress));
         } else {
             checkArgument(ipAddress instanceof Inet6Address);
-            yangIp = new IpAddress(IetfInetUtil.INSTANCE.ipv6AddressFor(ipAddress));
+            yangIp = new IpAddress(IetfInetUtil.ipv6AddressFor(ipAddress));
         }
         return new ContextKey(yangIp, new PortNumber(Uint16.valueOf(inetSocketAddr.getPort())));
     }