You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by tj...@apache.org on 2021/02/10 14:46:56 UTC

[felix-atomos] branch master updated: Small code fix in README example

This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e78d9b  Small code fix in README example
8e78d9b is described below

commit 8e78d9b480827b2097892d74eacf34ed2b801322
Author: Thomas Watson <tj...@us.ibm.com>
AuthorDate: Wed Feb 10 08:46:18 2021 -0600

    Small code fix in README example
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 8b928a1..3fad5b7 100644
--- a/README.md
+++ b/README.md
@@ -91,7 +91,7 @@ implemenation that can be used to create a [Framework](https://docs.osgi.org/jav
      Framework framework = factory.newFramework(
                                Map.of(
                                   Constants.FRAMEWORK_SYSTEMPACKAGES, ""),
-                               AtomosRuntime.newAtomos().getModuleConnector())
+                               Atomos.newAtomos().getModuleConnector());
 ```
 
 The framework must be configured with `org.osgi.framework.system.packages=""` when running on Java 9+ to configure the `system.bundle` to not export any of the packages provided by the JVM boot layer. Alternatively, a framework can be constructed using the `Atomos.newFramework` method like the following: