openhab-core/bundles/org.openhab.core.config.discovery.addon.ip
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/main/java/org/openhab/core/config/discovery/addon/ip More code cleanups (#3975) 2023-12-28 13:15:50 +01:00
.classpath Service to suggest addons via generic IP scan (#3920) 2023-12-17 13:12:55 +01:00
.project Service to suggest addons via generic IP scan (#3920) 2023-12-17 13:12:55 +01:00
NOTICE Service to suggest addons via generic IP scan (#3920) 2023-12-17 13:12:55 +01:00
pom.xml Apply spotless after release, resolve bundles (#3953) 2023-12-22 23:14:28 +01:00