- Timestamp:
- 2021-12-20T17:13:38+01:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java
r12669 r18342 54 54 55 55 /** 56 * Adds the coordinates of an 56 * Adds the coordinates of another EastNorth instance to this one. 57 57 * @param other The other instance. 58 58 * @return The new EastNorth position. … … 158 158 159 159 /** 160 * Returns an EastNorth representing th e this EastNorth rotated around160 * Returns an EastNorth representing this EastNorth rotated around 161 161 * a given EastNorth by a given angle 162 162 * @param pivot the center of the rotation -
trunk/src/org/openstreetmap/josm/gui/datatransfer/data/PrimitiveTagTransferData.java
r10737 r18342 42 42 for (PrimitiveData primitive : source) { 43 43 tags.get(primitive.getType()).add(TagCollection.from(primitive)); 44 counts.merge(primitive.getType(), 1, (a, b) -> a + b);44 counts.merge(primitive.getType(), 1, Integer::sum); 45 45 } 46 46 } -
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r18321 r18342 349 349 if (ch == '\\' || ch == '(' || ch == '{' || ch == ',' || ch == ')' || ch == '}' || ch == '=') { 350 350 result.append('\\'); 351 result.append(ch); 352 } else { 353 result.append(ch); 354 } 351 } 352 result.append(ch); 355 353 } 356 354 } -
trunk/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java
r17652 r18342 131 131 } 132 132 sources.removeSources(sourcesToRemove); 133 return true;134 } else {135 return true;136 133 } 134 return true; 137 135 } 138 136 } -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java
r17636 r18342 218 218 lastIds.pop(); 219 219 ((Chunk) o).id = null; 220 continue;221 220 } else { 222 221 // if preset item contains an id, store a mapping for later usage … … 224 223 lastIds.push(lastId); 225 224 byId.put(lastId, new ArrayList<>()); 226 continue;227 }225 } 226 continue; 228 227 } else if (!lastIds.isEmpty()) { 229 228 // add object to mapping for later usage
Note:
See TracChangeset
for help on using the changeset viewer.