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/gui/tagging/TaggingPresetReader.java

    r6074 r6093  
    101101                lastrole = null;
    102102            } else {
    103                 if (all.size() != 0) {
     103                if (!all.isEmpty()) {
    104104                    if (o instanceof TaggingPresetItems.Roles) {
    105105                        all.getLast().data.add((TaggingPresetItem) o);
Note: See TracChangeset for help on using the changeset viewer.