- Timestamp:
- 2024-06-18T20:31:36+02:00 (5 months ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
r19078 r19112 136 136 * <p> 137 137 * Case 1: One unclosed way. 138 * -->allow action, and align selected way nodes138 * → allow action, and align selected way nodes 139 139 * If nodes contained by this way are selected, there are fix. 140 140 * If nodes outside from the way are selected there are ignored. 141 141 * <p> 142 142 * Case 2: One or more ways are selected and can be joined into a polygon 143 * -->allow action, and align selected ways nodes143 * → allow action, and align selected ways nodes 144 144 * If 1 node outside of way is selected, it became center 145 145 * If 1 node outside and 1 node inside are selected there define center and radius … … 150 150 * <p> 151 151 * Case 3: Only nodes are selected 152 * -->Align these nodes, all are fix152 * → Align these nodes, all are fix 153 153 * <p> 154 154 * Case 4: Circularize selected ways 155 * -->Circularize each way of the selection.155 * → Circularize each way of the selection. 156 156 * @param ds data set in which the command operates 157 157 * @return the resulting command to execute to perform action, or null if nothing was changed -
trunk/src/org/openstreetmap/josm/data/ImageData.java
r18591 r19112 379 379 380 380 /** 381 * Set the layer for use with {@link org.openstreetmap.josm.gui.layer.geoimage.ImageViewerDialog#displayImages(L ayer, List)}381 * Set the layer for use with {@link org.openstreetmap.josm.gui.layer.geoimage.ImageViewerDialog#displayImages(List)} 382 382 * @param layer The layer to use for organization 383 383 * @since 18591 -
trunk/src/org/openstreetmap/josm/data/imagery/vectortile/mapbox/style/MapboxVectorStyle.java
r19080 r19112 251 251 252 252 /** 253 * Get the generated layer ->style mapping253 * Get the generated layer → style mapping 254 254 * @return The mapping (use to enable/disable a paint style) 255 255 */ -
trunk/src/org/openstreetmap/josm/data/preferences/StrokeProperty.java
r12620 r19112 57 57 /** 58 58 * Return s new BasicStroke object with given thickness and style 59 * @param code = 3.5 -> thickness=3.5px; 3.5 10 5 ->thickness=3.5px, dashed: 10px filled + 5px empty59 * @param code = 3.5 → thickness=3.5px; 3.5 10 5 → thickness=3.5px, dashed: 10px filled + 5px empty 60 60 * @return stroke for drawing 61 61 */ -
trunk/src/org/openstreetmap/josm/data/preferences/sources/SourceEntry.java
r12825 r19112 157 157 /** 158 158 * Extracts file part from url, e.g.: 159 * <code>http://www.test.com/file.xml?format=text -->file.xml</code>159 * <code>http://www.test.com/file.xml?format=text → file.xml</code> 160 160 * @return The filename part of the URL 161 161 */ -
trunk/src/org/openstreetmap/josm/data/projection/ShiftedProjecting.java
r12161 r19112 22 22 * Create a new {@link ShiftedProjecting} 23 23 * @param base The base to use 24 * @param offset The offset to move base. Subtracted when converting lat/lon ->east/north.24 * @param offset The offset to move base. Subtracted when converting lat/lon → east/north. 25 25 */ 26 26 public ShiftedProjecting(Projecting base, EastNorth offset) { -
trunk/src/org/openstreetmap/josm/data/projection/proj/Proj.java
r14302 r19112 72 72 * explicitly. 73 73 * 74 * In this area, the round trip lat/lon -> east/north ->lat/lon should74 * In this area, the round trip lat/lon → east/north → lat/lon should 75 75 * return the starting value with small error. In addition, regions with 76 76 * extreme distortions should be excluded, if possible. -
trunk/src/org/openstreetmap/josm/data/validation/TestError.java
r18960 r19112 39 39 /** 40 40 * Used to switch users over to new ignore system, UNIQUE_CODE_MESSAGE_STATE 41 * 1_704_067_200L ->2024-01-0141 * 1_704_067_200L → 2024-01-01 42 42 * We can probably remove this and the supporting code in 2025. 43 43 */ -
trunk/src/org/openstreetmap/josm/data/validation/ValidatorCLI.java
r19108 r19112 78 78 /** The input file(s) */ 79 79 private final List<String> input = new ArrayList<>(); 80 /** The change files. input file ->list of change files */80 /** The change files. input file → list of change files */ 81 81 private final Map<String, List<String>> changeFiles = new HashMap<>(); 82 /** The output file(s). If {@code null}, use input filename as base (replace extension with geojson). input ->output */82 /** The output file(s). If {@code null}, use input filename as base (replace extension with geojson). input → output */ 83 83 private final Map<String, String> output = new HashMap<>(); 84 84 … … 333 333 /** 334 334 * Split a string into a filename + extension. Example: 335 * "foo.bar.txt" ->["foo.bar", "txt"]335 * "foo.bar.txt" → ["foo.bar", "txt"] 336 336 * <p> 337 337 * Please note that future versions of Java may make this method redundant. It is not as of Java 21 (look for -
trunk/src/org/openstreetmap/josm/gui/io/importexport/FileExporter.java
r16553 r19112 68 68 69 69 /** 70 * Returns the enabled state of this {@code FileExporter}. When enabled, it is listed and usable in "File ->Save" dialogs.70 * Returns the enabled state of this {@code FileExporter}. When enabled, it is listed and usable in "File → Save" dialogs. 71 71 * @return true if this {@code FileExporter} is enabled 72 72 * @since 5459 … … 77 77 78 78 /** 79 * Sets the enabled state of the {@code FileExporter}. When enabled, it is listed and usable in "File ->Save" dialogs.79 * Sets the enabled state of the {@code FileExporter}. When enabled, it is listed and usable in "File → Save" dialogs. 80 80 * @param enabled true to enable this {@code FileExporter}, false to disable it 81 81 * @since 5459 -
trunk/src/org/openstreetmap/josm/gui/io/importexport/FileImporter.java
r17534 r19112 180 180 181 181 /** 182 * Returns the enabled state of this {@code FileImporter}. When enabled, it is listed and usable in "File ->Open" dialog.182 * Returns the enabled state of this {@code FileImporter}. When enabled, it is listed and usable in "File → Open" dialog. 183 183 * @return true if this {@code FileImporter} is enabled 184 184 * @since 5459 … … 189 189 190 190 /** 191 * Sets the enabled state of the {@code FileImporter}. When enabled, it is listed and usable in "File ->Open" dialog.191 * Sets the enabled state of the {@code FileImporter}. When enabled, it is listed and usable in "File → Open" dialog. 192 192 * @param enabled true to enable this {@code FileImporter}, false to disable it 193 193 * @since 5459 -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r19050 r19112 664 664 * -1 to exclude current zoom level 665 665 * <p> 666 * Add +2 to maxYtiles / maxXtiles to add space in cache for extra tiles in current zoom level that are 667 * download by overloadTiles(). This is not added in computation of visibleTiles as this unnecessarily grow the cache size 668 * <p> 666 669 * Check call to tryLoadFromDifferentZoom 667 670 * @see #tryLoadFromDifferentZoom(Graphics2D, int, List, int) 668 671 * @see #drawInViewArea(Graphics2D, MapView, ProjectionBounds) 669 * 670 * Add +2 to maxYtiles / maxXtiles to add space in cache for extra tiles in current zoom level that are 671 * download by overloadTiles(). This is not added in computation of visibleTiles as this unnecessarily grow the cache size 672 * @see TileSet#overloadTiles() 672 * @see AbstractTileSourceLayer.TileSet#overloadTiles() 673 673 */ 674 674 private static int calculateRealTiles(int visibleTiles, int maxXtiles, int maxYtiles) { -
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r18895 r19112 609 609 610 610 /** 611 * Replies the savable state of this layer (i.e., if it can be saved through a "File ->Save" dialog).611 * Replies the savable state of this layer (i.e., if it can be saved through a "File → Save" dialog). 612 612 * @return true if this layer can be saved to a file 613 613 * @since 5459 -
trunk/src/org/openstreetmap/josm/gui/layer/SaveToFile.java
r9751 r19112 10 10 /** 11 11 * Replies the savable state of the layer (i.e. if it can be saved through 12 * a "File ->Save" dialog). A layer that implements the12 * a "File → Save" dialog). A layer that implements the 13 13 * {@code SaveToFile} interface must return {@code true}. 14 14 * -
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintMenu.java
r18354 r19112 22 22 23 23 /** 24 * The View ->Map Paint Styles menu24 * The View → Map Paint Styles menu 25 25 * @since 5086 26 26 */ -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r18871 r19112 98 98 * Lambert conic conform 4 zones using the French geodetic system NTF. 99 99 * <p> 100 * This newer version uses the grid translation NTF <->RGF93 provided by IGN for a submillimetric accuracy.100 * This newer version uses the grid translation NTF ⟷ RGF93 provided by IGN for a submillimetric accuracy. 101 101 * (RGF93 is the French geodetic system similar to WGS84 but not mathematically equal) 102 102 * <p> -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/ComboMultiSelect.java
r18918 r19112 150 150 /** 151 151 * allow escaped comma in comma separated list: 152 * "A\, B\, C,one\, two" -->["A, B, C", "one, two"]152 * "A\, B\, C,one\, two" → ["A, B, C", "one, two"] 153 153 * @param delimiter the delimiter, e.g. a comma. separates the entries and 154 154 * must be escaped within one entry -
trunk/src/org/openstreetmap/josm/gui/util/GuiHelper.java
r18549 r19112 405 405 /** 406 406 * Return s new BasicStroke object with given thickness and style 407 * @param code = 3.5 -> thickness=3.5px; 3.5 10 5 ->thickness=3.5px, dashed: 10px filled + 5px empty407 * @param code = 3.5 → thickness=3.5px; 3.5 10 5 → thickness=3.5px, dashed: 10px filled + 5px empty 408 408 * @return stroke for drawing 409 409 * @see StrokeProperty -
trunk/src/org/openstreetmap/josm/io/GeoJSONWriter.java
r18754 r19112 80 80 * For validating Mesa County, CO, this reduces CPU and memory usage of {@link #write()} by ~80%. By using this for 81 81 * other {@link Json} calls, {@link #write()} takes ~95% less resources than the original. And the entire process 82 * takes 1/4 of the time (38 minutes -> <10 minutes).82 * takes 1/4 of the time (38 minutes → <10 minutes). 83 83 * <p> 84 84 * For more details, see <a href="https://github.com/jakartaee/jsonp-api/issues/346">JSONP #346</a>. -
trunk/src/org/openstreetmap/josm/io/GpxParser.java
r19050 r19112 782 782 783 783 /** 784 * convert url/urlname to link element (GPX 1.0 ->GPX 1.1).784 * convert url/urlname to link element (GPX 1.0 → GPX 1.1). 785 785 * @param attr attributes 786 786 */ -
trunk/src/org/openstreetmap/josm/tools/TextTagParser.java
r19042 r19112 129 129 /** 130 130 * Check tags for correctness and display warnings if needed 131 * @param tags - map key ->value to check131 * @param tags - map key → value to check 132 132 * @param callback warning callback 133 133 * @return true if the tags should be pasted -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r19109 r19112 518 518 * @param <T> type of items 519 519 * 520 * @param dependencies contains mappings (key ->value). In the final list of sorted objects, the key will come520 * @param dependencies contains mappings (key → value). In the final list of sorted objects, the key will come 521 521 * after the value. (In other words, the key depends on the value(s).) 522 522 * There must not be cyclic dependencies. -
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReport.java
r18550 r19112 33 33 * ... your code ... 34 34 * } catch (RuntimeException t) { 35 * throw BugReport.intercept(t).put("id", id).put("tag", () ->x.getTag());35 * throw BugReport.intercept(t).put("id", id).put("tag", () → x.getTag()); 36 36 * } 37 37 * </pre>
Note:
See TracChangeset
for help on using the changeset viewer.