From ceb3877d2e6fd837a63c730f06b6f97d2c624d12 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Thu, 27 Apr 2017 18:41:10 +0200 Subject: [PATCH] Turn off visibility of OsgiBundleScanningSchemaService#start() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- .../mdsal/dom/broker/osgi/OsgiBundleScanningSchemaService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 dd30b0d54c..1f8b4e281c 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"); -- 2.36.6