openhab-core/bundles/org.openhab.core.automation/src
Wouter Born 4895977966 Use isEmpty() instead of "size() == 0" (#1151)
isEmpty() expresses the intent more clearly and is therefore preferred.
Counting the number of elements can also be an expensive operation e.g. when using linked lists.

Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-20 01:27:11 +02:00
..
main Use isEmpty() instead of "size() == 0" (#1151) 2019-10-20 01:27:11 +02:00
test/java/org/openhab/core/automation Normalized instantiation of loggers (#1138) 2019-10-18 22:29:27 +02:00