Remove use of powermock
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / sal / NetconfDeviceSalProvider.java
index e4d16e9394f4c92d22d7bf7b6dd2bc1e8faed0ca..f4b44d9bc453b6742d2a41446e0be3350ea8bb23 100644 (file)
@@ -90,6 +90,7 @@ public class NetconfDeviceSalProvider implements AutoCloseable {
 
     }
 
+    @Override
     public void close() throws Exception {
         mountInstance.close();
         if (topologyDatastoreAdapter != null) {
@@ -101,7 +102,7 @@ public class NetconfDeviceSalProvider implements AutoCloseable {
         }
     }
 
-    public static final class MountInstance implements AutoCloseable {
+    public static class MountInstance implements AutoCloseable {
 
         private final DOMMountPointService mountService;
         private final RemoteDeviceId id;
@@ -109,7 +110,7 @@ public class NetconfDeviceSalProvider implements AutoCloseable {
 
         private ObjectRegistration<DOMMountPoint> topologyRegistration;
 
-        public MountInstance(final DOMMountPointService mountService, final RemoteDeviceId id) {
+        MountInstance(final DOMMountPointService mountService, final RemoteDeviceId id) {
             this.mountService = Preconditions.checkNotNull(mountService);
             this.id = Preconditions.checkNotNull(id);
         }