Turn off visibility of OsgiBundleScanningSchemaService#start() 88/56188/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 27 Apr 2017 16:41:10 +0000 (18:41 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 27 Apr 2017 22:05:52 +0000 (22:05 +0000)
Since the start() method is only used in the createInstance(), it
should be private and not exposed.

Change-Id: I0264d0a66bbfb2536bc4d6c57f27f15584ddfabb
Signed-off-by: Alexis de Talhouƫt <adetalhouet@inocybe.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/osgi/OsgiBundleScanningSchemaService.java

index 1522594b49dd2634c05bc09fe1dfe7e148f484f5..2164464b4807b8d1e7a96d9a916904926849db22 100644 (file)
@@ -87,7 +87,7 @@ public class OsgiBundleScanningSchemaService implements SchemaContextProvider, D
         return context;
     }
 
-    public void start() {
+    private void start() {
         checkState(context != null);
         LOG.debug("start() starting");