Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[imperihome] Use DS annotations #4721

Merged
merged 3 commits into from
Jan 26, 2019
Merged

Conversation

wborn
Copy link
Member

@wborn wborn commented Jan 26, 2019

Use DS annotations for generating the component XML.

@@ -53,6 +60,11 @@
*
* @author Pepijn de Geus - Initial contribution
*/
@Component(immediate = true, service = HttpServlet.class, configurationPid = "org.openhab.imperihome", property = {
org.osgi.framework.Constants.SERVICE_PID + "=org.openhab.imperihome",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this one also be imported? Or maybe a static import?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's now imported. A simple class import because that looks nicer because the auto-formatter would put multiple properties on the same line with a static import. :-)

@cweitkamp cweitkamp merged commit 8cf8884 into openhab:master Jan 26, 2019
@wborn wborn deleted the imperihome-ds branch January 26, 2019 19:54
@wborn wborn added this to the 2.5 milestone Feb 28, 2019
Pshatsillo pushed a commit to Pshatsillo/openhab-addons that referenced this pull request Jun 19, 2019
* [imperihome] Use DS annotations

Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Pshatsillo <[email protected]>
ne0h pushed a commit to ne0h/openhab-addons that referenced this pull request Sep 15, 2019
* [imperihome] Use DS annotations

Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Maximilian Hess <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants