openhab-core/bundles/org.openhab.core.config.discovery.addon.upnp
Wouter Born ba5647b871
More code cleanups (#3975)
While cleaning up the code I found a some more code to cleanup:

* Remove unnecessary boxing
* Use `contains(..)` instead of `indexOf(..) != -1`
* Use `assertInstanceOf` in tests
* Make expensive trace logging conditional
* Remove redundant constructor
* Replace `collect(Collectors.toUnmodifiableList())` with `toList()`
* Replace `filter(..).count() == 0L` with `noneMatch(..)`
* Replace `filter(..).count() > 0` with `anyMatch(..)`

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-28 13:15:50 +01:00
..
src More code cleanups (#3975) 2023-12-28 13:15:50 +01:00
.classpath Service to find suggested addons to install (#3806) 2023-12-07 17:32:33 +01:00
.project Service to find suggested addons to install (#3806) 2023-12-07 17:32:33 +01:00
NOTICE Service to find suggested addons to install (#3806) 2023-12-07 17:32:33 +01:00
pom.xml Apply spotless after release, resolve bundles (#3953) 2023-12-22 23:14:28 +01:00