From c2c61de266b41416a11f381d3dba79d5866d7e76 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Thu, 27 Apr 2017 18:41:10 +0200 Subject: [PATCH 1/1] 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 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"); -- 2.36.6