Changeset 9968 in josm for trunk/src/org/openstreetmap/josm/actions/PasteTagsAction.java
- Timestamp:
- 2016-03-12T19:18:29+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/PasteTagsAction.java
r9230 r9968 76 76 protected boolean isHeterogeneousSource() { 77 77 int count = 0; 78 count = !getSourcePrimitivesByType(OsmPrimitiveType.NODE).isEmpty() ? count + 1: count;79 count = !getSourcePrimitivesByType(OsmPrimitiveType.WAY).isEmpty() ? count + 1: count;80 count = !getSourcePrimitivesByType(OsmPrimitiveType.RELATION).isEmpty() ? count + 1: count;78 count = !getSourcePrimitivesByType(OsmPrimitiveType.NODE).isEmpty() ? (count + 1) : count; 79 count = !getSourcePrimitivesByType(OsmPrimitiveType.WAY).isEmpty() ? (count + 1) : count; 80 count = !getSourcePrimitivesByType(OsmPrimitiveType.RELATION).isEmpty() ? (count + 1) : count; 81 81 return count > 1; 82 82 }
Note:
See TracChangeset
for help on using the changeset viewer.