Skip to content

Commit 9217228

Browse files
authored
Update osgi-starter.md
Spelling mistake
1 parent 70f8bbf commit 9217228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspace/osgi-starter.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ You can also apply the `@Descriptor` annotation on the parameters.
976976

977977
### Property Annotation
978978

979-
The component properties `osgi.command.scope` and `osgi.command.function` are constructed from strings. This is an error-prone programming pattern. We used this error-prone patter to make more clear what was going on beneath the covers; it also allowed us to get started without importing the Gogo runtime bundle. However, the `org.apache.felix.runtime` bundle, that we use for the `@Descriptor` and `@Parameter` annotations, also contains an annotation to add service properties: `@GogoCommand`. This annotation cleans up the component by defining the Gogo service properties via a simple annotation.
979+
The component properties `osgi.command.scope` and `osgi.command.function` are constructed from strings. This is an error-prone programming pattern. We used this error-prone patter to make more clear what was going on beneath the covers; it also allowed us to get started without importing the Gogo runtime bundle. However, the `org.apache.felix.gogo.runtime` bundle, that we use for the `@Descriptor` and `@Parameter` annotations, also contains an annotation to add service properties: `@GogoCommand`. This annotation cleans up the component by defining the Gogo service properties via a simple annotation.
980980

981981
```java
982982
@GogoCommand(scope="hello", function="hello")

0 commit comments

Comments
 (0)