IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/data/coor/EastNorth.java b/src/org/openstreetmap/josm/data/coor/EastNorth.java
|
a
|
b
|
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | | * Adds the coordinates of an other EastNorth instance to this one. |
| | 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. |
| 59 | 59 | */ |
| … |
… |
|
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | /** |
| 160 | | * Returns an EastNorth representing the this EastNorth rotated around |
| | 160 | * 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 |
| 163 | 163 | * @param angle the angle of the rotation |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/datatransfer/data/PrimitiveTagTransferData.java b/src/org/openstreetmap/josm/gui/datatransfer/data/PrimitiveTagTransferData.java
|
a
|
b
|
|
| 41 | 41 | |
| 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 | } |
| 47 | 47 | |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java b/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java
|
a
|
b
|
|
| 130 | 130 | } |
| 131 | 131 | } |
| 132 | 132 | sources.removeSources(sourcesToRemove); |
| 133 | | return true; |
| 134 | | } else { |
| 135 | | return true; |
| 136 | | } |
| | 133 | } |
| | 134 | return true; |
| 137 | 135 | } |
| 138 | 136 | } |
| 139 | 137 | |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java b/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
|
a
|
b
|
|
| 346 | 346 | char ch = s.charAt(i); |
| 347 | 347 | if (ch == '\\' || ch == '(' || ch == '{' || ch == ',' || ch == ')' || ch == '}' || ch == '=') { |
| 348 | 348 | result.append('\\'); |
| 349 | | result.append(ch); |
| 350 | | } else { |
| 351 | | result.append(ch); |
| 352 | | } |
| | 349 | } |
| | 350 | result.append(ch); |
| 353 | 351 | } |
| 354 | 352 | } |
| 355 | 353 | |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java b/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java
|
a
|
b
|
|
| 217 | 217 | // pop last id on end of object, don't process further |
| 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 |
| 223 | 222 | String lastId = ((Chunk) o).id; |
| 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 |
| 230 | 229 | byId.get(lastIds.peek()).add(o); |