With this Pull-Request I want to solve a code-smell in a subset of modules, one additional Pull-Request will be required.
The change is about obj.size() > 0 which should look like this: !obj.isEmpty() according to SonarQube.
SonarQube rule is named:
Collection.isEmpty() should be used to test for emptiness
With this Pull-Request I want to solve a code-smell in a subset of modules, one additional Pull-Request will be required. The change is about
obj.size() > 0
which should look like this:!obj.isEmpty()
according to SonarQube.SonarQube rule is named:
See also: https://github.com/locationtech/udig-platform/pull/665 (Part 1)