locationtech / udig-platform

uDig parent project containing all core components. More plugins can be found in community repos: http://github.com/uDig-Community
http://udig.refractions.net
190 stars 133 forks source link

Unify verification if object is empty #659

Closed sschulz92 closed 2 years ago

sschulz92 commented 2 years ago

With this Pull-Reqest I would like to unify the way objects are verified. I replaced all occurrences of .size() < 1 with .isEmpty().