Turn off visibility of OsgiBundleScanningSchemaService#start() 10/56210/1
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 19:42:28 +0000 (19:42 +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 bc057e74f4d5a8067560c8f57e7c236ecd5aa890..caec7cc7851b9982a450eded533782085deb4d80 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");