Changeset 2476 in josm for trunk/src


Ignore:
Timestamp:
2009-11-19T08:53:21+01:00 (12 years ago)
Author:
Gubaer
Message:

Removed indication of "errors" in the default name formatter.

File:
1 edited

Legend:

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

    r2464 r2476  
    1414import org.openstreetmap.josm.data.coor.CoordinateFormat;
    1515import org.openstreetmap.josm.data.osm.Changeset;
    16 import org.openstreetmap.josm.data.osm.DataSet;
    1716import org.openstreetmap.josm.data.osm.NameFormatter;
    1817import org.openstreetmap.josm.data.osm.Node;
     
    139138            String nodes = trn("{0} node", "{0} nodes", nodesNo, nodesNo);
    140139            name += (name.length() > 0) ? " ("+nodes+")" : nodes;
    141             DataSet data = way.getDataSet();
    142             if (data != null && data.getErrors(way) != null) {
    143                 name = "*"+name;
    144             }
    145140        }
    146141        name = decorateNameWithId(name, way);
     
    191186            int mbno = relation.getMembersCount();
    192187            name += trn("{0} member", "{0} members", mbno, mbno) + ")";
    193             DataSet data = relation.getDataSet();
    194             if(data != null && data.getErrors(relation) != null) {
    195                 name = "*"+name;
    196             }
    197188        }
    198189        name = decorateNameWithId(name, relation);
Note: See TracChangeset for help on using the changeset viewer.