openhab-core/bundles/org.openhab.core.transform
Wouter Born be69d2254e Use !isEmpty() instead of "size() > 0" or "size() != 0" (#1155)
* Use !isEmpty() instead of "size() > 0" or "size() != 0"

!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.

Co-Authored-By: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-21 09:00:52 +02:00
..
src Use !isEmpty() instead of "size() > 0" or "size() != 0" (#1155) 2019-10-21 09:00:52 +02:00
.classpath Removed superflous resources (#1137) 2019-10-18 22:28:37 +02:00
.project mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
bnd.bnd mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
NOTICE Updated NOTICE files to openHAB (#578) 2019-02-15 10:46:18 +01:00
pom.xml Fixed POM XML Shema Definition path (#1119) 2019-10-12 08:52:16 +02:00