Turn off visibility of OsgiBundleScanningSchemaService#start() 11/56211/2
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:04:11 +0000 (22:04 +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 dd30b0d54cbb9f780ba2961c4918d236d4d920d0..1f8b4e281cc1540defc9235c21ecd3205f0125e3 100644 (file)
@@ -82,7 +82,7 @@ public class OsgiBundleScanningSchemaService implements SchemaContextProvider, D
         return context;
     }
 
-    public void start() {
+    private void start() {
         checkState(context != null);
         LOG.debug("start() starting");