From: Alexis de Talhouët Date: Tue, 23 Aug 2016 12:26:32 +0000 (-0400) Subject: Turn off visibility of GlobalBundleScanningSchemaServiceImpl#start() X-Git-Tag: release/carbon~512 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=6ed4207635b1ac2f4bb9611e82130002602f0d4d Turn off visibility of GlobalBundleScanningSchemaServiceImpl#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 --- diff --git a/opendaylight/md-sal/sal-schema-service/src/main/java/org/opendaylight/controller/sal/schema/service/impl/GlobalBundleScanningSchemaServiceImpl.java b/opendaylight/md-sal/sal-schema-service/src/main/java/org/opendaylight/controller/sal/schema/service/impl/GlobalBundleScanningSchemaServiceImpl.java index c54b2e3885..19232db486 100644 --- a/opendaylight/md-sal/sal-schema-service/src/main/java/org/opendaylight/controller/sal/schema/service/impl/GlobalBundleScanningSchemaServiceImpl.java +++ b/opendaylight/md-sal/sal-schema-service/src/main/java/org/opendaylight/controller/sal/schema/service/impl/GlobalBundleScanningSchemaServiceImpl.java @@ -72,7 +72,7 @@ public class GlobalBundleScanningSchemaServiceImpl implements SchemaContextProvi return context; } - public void start() { + private void start() { checkState(context != null); LOG.debug("start() starting");