openhab / static-code-analysis

Maven tooling for static code analysis
https://www.openhab.org/
Other
32 stars 21 forks source link

Fix OhInfXmlUsageCheck configurable service unused configuration false positives #429

Closed wborn closed 2 years ago

wborn commented 2 years ago

This fixes many "Unused configuration reference with uri - ..." OhInfXmlUsageCheck false positives of configurations used by configurable services. When there are still unused configuration references, the check will now also take into account the "service.config.description.uri" properties in the generated XML of service components in the OSGI-INF dir.