Ignore:
Timestamp:
2013-07-30T18:35:47+02:00 (11 years ago)
Author:
akks
Message:

see #8902 - collection size ==/!= 0 -> isEmpty()/!isEmpty() (patch by shinigami)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java

    r6084 r6093  
    175175                return false;
    176176            boolean ret = this.content.remove(o);
    177             if (this.content.size() == 0) {
     177            if (this.content.isEmpty()) {
    178178                this.content = null;
    179179            }
     
    492492        boolean canRemove()
    493493        {
    494             if (content != null && content.size() > 0)
     494            if (content != null && !content.isEmpty())
    495495                return false;
    496496            if (this.hasChildren())
Note: See TracChangeset for help on using the changeset viewer.