Changeset 2476 in josm for trunk/src/org
- Timestamp:
- 2009-11-19T08:53:21+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java
r2464 r2476 14 14 import org.openstreetmap.josm.data.coor.CoordinateFormat; 15 15 import org.openstreetmap.josm.data.osm.Changeset; 16 import org.openstreetmap.josm.data.osm.DataSet;17 16 import org.openstreetmap.josm.data.osm.NameFormatter; 18 17 import org.openstreetmap.josm.data.osm.Node; … … 139 138 String nodes = trn("{0} node", "{0} nodes", nodesNo, nodesNo); 140 139 name += (name.length() > 0) ? " ("+nodes+")" : nodes; 141 DataSet data = way.getDataSet();142 if (data != null && data.getErrors(way) != null) {143 name = "*"+name;144 }145 140 } 146 141 name = decorateNameWithId(name, way); … … 191 186 int mbno = relation.getMembersCount(); 192 187 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 }197 188 } 198 189 name = decorateNameWithId(name, relation);
Note:
See TracChangeset
for help on using the changeset viewer.