Changeset 2462 in josm


Ignore:
Timestamp:
2009-11-15T18:24:28+01:00 (15 years ago)
Author:
stoecker
Message:

fixed 3941 - build issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java

    r2452 r2462  
    138138            String nodes = trn("{0} node", "{0} nodes", nodesNo, nodesNo);
    139139            name += (name.length() > 0) ? " ("+nodes+")" : nodes;
    140             if(way.getErrors() != null) {
     140            if(way.getDataSet().getErrors(way) != null) {
    141141                name = "*"+name;
    142142            }
     
    189189            int mbno = relation.getMembersCount();
    190190            name += trn("{0} member", "{0} members", mbno, mbno) + ")";
    191             if(relation.getErrors() != null) {
     191            if(relation.getDataSet().getErrors(relation) != null) {
    192192                name = "*"+name;
    193193            }
Note: See TracChangeset for help on using the changeset viewer.