summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2019-11-05 11:16:26 +0100
committergjoranv <gv@verizonmedia.com>2019-11-05 11:16:26 +0100
commit6c70ba03663e3032b9fe9ca6cf082d3d53c20bb3 (patch)
tree8df0cf0a754155c84e9f347c5a7bd00303cd97bb /container-core
parent5161a1d334506225a191514b4e6ba03ac4e038ad (diff)
minor: move method closer to its caller
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/java/com/yahoo/container/core/config/BundleLoader.java10
1 files changed, 5 insertions, 5 deletions
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<Bundle> obtainBundles(FileReference reference, FileAcquirer fileAcquirer) throws InterruptedException {
- File file = fileAcquirer.waitFor(reference, 7, TimeUnit.DAYS);
- return osgi.install(file.getAbsolutePath());
- }
-
private void install(List<FileReference> references) {
Set<FileReference> bundlesToInstall = new HashSet<>(references);
@@ -121,6 +116,11 @@ public class BundleLoader {
}
}
+ private List<Bundle> 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.