Changeset 10788 in josm for trunk/src/org/openstreetmap/josm/gui/layer
- Timestamp:
- 2016-08-12T12:17:25+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r10716 r10788 96 96 import org.openstreetmap.josm.io.OsmImporter; 97 97 import org.openstreetmap.josm.tools.CheckParameterUtil; 98 import org.openstreetmap.josm.tools.FilteredCollection;99 98 import org.openstreetmap.josm.tools.GBC; 100 99 import org.openstreetmap.josm.tools.ImageOverlay; 101 100 import org.openstreetmap.josm.tools.ImageProvider; 102 101 import org.openstreetmap.josm.tools.ImageProvider.ImageSizes; 102 import org.openstreetmap.josm.tools.SubclassFilteredCollection; 103 103 import org.openstreetmap.josm.tools.date.DateUtils; 104 104 … … 425 425 426 426 @Override public String getToolTipText() { 427 int nodes = new FilteredCollection<>(data.getNodes(), p -> !p.isDeleted()).size();428 int ways = new FilteredCollection<>(data.getWays(), p -> !p.isDeleted()).size();429 int rels = new FilteredCollection<>(data.getRelations(), p -> !p.isDeleted()).size();427 int nodes = new SubclassFilteredCollection<>(data.getNodes(), p -> !p.isDeleted()).size(); 428 int ways = new SubclassFilteredCollection<>(data.getWays(), p -> !p.isDeleted()).size(); 429 int rels = new SubclassFilteredCollection<>(data.getRelations(), p -> !p.isDeleted()).size(); 430 430 431 431 String tool = trn("{0} node", "{0} nodes", nodes, nodes)+", ";
Note:
See TracChangeset
for help on using the changeset viewer.