From: Robert Varga Date: Thu, 27 Apr 2017 16:41:10 +0000 (+0200) Subject: Turn off visibility of OsgiBundleScanningSchemaService#start() X-Git-Tag: release/boron-sr4~6 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=c2c61de266b41416a11f381d3dba79d5866d7e76;hp=45dfd0c8f23a157ea64a9acd5b88b6f62e324776;p=mdsal.git Turn off visibility of OsgiBundleScanningSchemaService#start() 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 Signed-off-by: Robert Varga --- diff --git a/dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/osgi/OsgiBundleScanningSchemaService.java b/dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/osgi/OsgiBundleScanningSchemaService.java index bc057e74f4..caec7cc785 100644 --- a/dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/osgi/OsgiBundleScanningSchemaService.java +++ b/dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/osgi/OsgiBundleScanningSchemaService.java @@ -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");