Ticket #3786: way-node-count.patch
| File way-node-count.patch, 704 bytes (added by , 16 years ago) |
|---|
-
src/org/openstreetmap/josm/gui/DefaultNameFormatter.java
131 131 (way.get("landuse") != null) ? tr("landuse") : ""; 132 132 } 133 133 134 int nodesNo = new HashSet<Node>(way.getNodes()).size();134 int nodesNo = way.getNodesCount(); 135 135 String nodes = trn("{0} node", "{0} nodes", nodesNo, nodesNo); 136 136 name += (name.length() > 0) ? " ("+nodes+")" : nodes; 137 137 if(way.errors != null) {
