mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 13:21:53 +01:00
ba5647b871
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> |
||
---|---|---|
.. | ||
src | ||
.classpath | ||
.project | ||
bnd.bnd | ||
NOTICE | ||
pom.xml |