From 6c70ba03663e3032b9fe9ca6cf082d3d53c20bb3 Mon Sep 17 00:00:00 2001 From: gjoranv Date: Tue, 5 Nov 2019 11:16:26 +0100 Subject: minor: move method closer to its caller --- .../java/com/yahoo/container/core/config/BundleLoader.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'container-core') diff --git a/container-core/src/main/java/com/yahoo/container/core/config/BundleLoader.java b/container-core/src/main/java/com/yahoo/container/core/config/BundleLoader.java index 4b8f21469d1..ffbd5ce804f 100644 --- a/container-core/src/main/java/com/yahoo/container/core/config/BundleLoader.java +++ b/container-core/src/main/java/com/yahoo/container/core/config/BundleLoader.java @@ -46,11 +46,6 @@ public class BundleLoader { this.osgi = osgi; } - private List obtainBundles(FileReference reference, FileAcquirer fileAcquirer) throws InterruptedException { - File file = fileAcquirer.waitFor(reference, 7, TimeUnit.DAYS); - return osgi.install(file.getAbsolutePath()); - } - private void install(List references) { Set bundlesToInstall = new HashSet<>(references); @@ -121,6 +116,11 @@ public class BundleLoader { } } + private List obtainBundles(FileReference reference, FileAcquirer fileAcquirer) throws InterruptedException { + File file = fileAcquirer.waitFor(reference, 7, TimeUnit.DAYS); + return osgi.install(file.getAbsolutePath()); + } + /** * Resolves and starts (calls the Bundles BundleActivator) all bundles. Bundle resolution must take place * after all bundles are installed to ensure that the framework can resolve dependencies between bundles. -- cgit v1.2.3