Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Improve documentation of HttpWhiteboardResource Annotation #2957

Open
bjhargrave opened this issue Sep 25, 2018 · 2 comments
Open

Improve documentation of HttpWhiteboardResource Annotation #2957

bjhargrave opened this issue Sep 25, 2018 · 2 comments

Comments

@bjhargrave
Copy link
Member

Original bug ID: BZ#3089
From: @juergen-albert
Reported version: R7

@bjhargrave
Copy link
Member Author

Comment author: @juergen-albert

The Annotation has the fields pattern and prefix.

Currently:

patter - Service property identifying resource patterns
prefix - Service property identifying resource patterns

Should be:

pattern - Service property identifying the resources url pattern
prefix - Service property identifying resource prefix, used to find the content in the bundle path.

If somebody has a better idea, I'm open, but we should at least give a clue to the user, what the two fields are for.

@bjhargrave
Copy link
Member Author

Comment author: @cziegeler

Where exactly do you see this?

Looking at [1] I don't see the text you mention; the "return" statement has a typo for prefix which I just fixed

[1] https://osgi.org/javadoc/osgi.cmpn/7.0.0/org/osgi/service/http/whiteboard/propertytypes/HttpWhiteboardResource.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant