OpenMRS Core Master
Build: #1982 failed
Job: Release to maven did not start
Code commits
openmrs-core
-
JyothsnaAshok <34093139+JyothsnaAshok@users.noreply.github.com> 5f2cf455123438a6910143c133bcc6accbbf3030
GCI-142 Check bad code practices through Findbugs or Sonar and fix those issues. (#2744)
Using Collection.isEmpty() makes the code more readable. Also the time complexity of any isEmpty() method implementation should be 0(1) whereas some implementations of size() can be 0(n).