openhab-core/bundles/org.openhab.core.config.discovery.addon.process
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/process More code cleanups (#3975) 2023-12-28 13:15:50 +01:00
.classpath Service to suggest addons based on running processes (#3904) 2023-12-16 10:52:41 +01:00
.project Service to suggest addons based on running processes (#3904) 2023-12-16 10:52:41 +01:00
NOTICE Service to suggest addons based on running processes (#3904) 2023-12-16 10:52:41 +01:00
pom.xml Apply spotless after release, resolve bundles (#3953) 2023-12-22 23:14:28 +01:00