Skip to content

Commit 3b5f357

Browse files
author
stoecker
committed
javadoc fixes
git-svn-id: https://josm.openstreetmap.de/svn/trunk@19112 0c6e7542-c601-0410-84e7-c038aed88b3b
1 parent 7d6f172 commit 3b5f357

File tree

23 files changed

+33
-33
lines changed

23 files changed

+33
-33
lines changed

src/org/openstreetmap/josm/actions/AlignInCircleAction.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ public void actionPerformed(ActionEvent e) {
135135
* All other nodes are uniformly distributed.
136136
* <p>
137137
* Case 1: One unclosed way.
138-
* --&gt; allow action, and align selected way nodes
138+
* allow action, and align selected way nodes
139139
* If nodes contained by this way are selected, there are fix.
140140
* If nodes outside from the way are selected there are ignored.
141141
* <p>
142142
* Case 2: One or more ways are selected and can be joined into a polygon
143-
* --&gt; allow action, and align selected ways nodes
143+
* allow action, and align selected ways nodes
144144
* If 1 node outside of way is selected, it became center
145145
* If 1 node outside and 1 node inside are selected there define center and radius
146146
* If no outside node and 2 inside nodes are selected those 2 nodes define diameter
@@ -149,10 +149,10 @@ public void actionPerformed(ActionEvent e) {
149149
* (first referrer is the selected way)
150150
* <p>
151151
* Case 3: Only nodes are selected
152-
* --&gt; Align these nodes, all are fix
152+
* Align these nodes, all are fix
153153
* <p>
154154
* Case 4: Circularize selected ways
155-
* --&gt; Circularize each way of the selection.
155+
* Circularize each way of the selection.
156156
* @param ds data set in which the command operates
157157
* @return the resulting command to execute to perform action, or null if nothing was changed
158158
* @throws InvalidSelection if selection cannot be used

src/org/openstreetmap/josm/data/ImageData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private void afterImageUpdated(ImageEntry img) {
378378
}
379379

380380
/**
381-
* Set the layer for use with {@link org.openstreetmap.josm.gui.layer.geoimage.ImageViewerDialog#displayImages(Layer, List)}
381+
* Set the layer for use with {@link org.openstreetmap.josm.gui.layer.geoimage.ImageViewerDialog#displayImages(List)}
382382
* @param layer The layer to use for organization
383383
* @since 18591
384384
*/

src/org/openstreetmap/josm/data/imagery/vectortile/mapbox/style/MapboxVectorStyle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private void save(String name, Object object) {
250250
}
251251

252252
/**
253-
* Get the generated layer->style mapping
253+
* Get the generated layerstyle mapping
254254
* @return The mapping (use to enable/disable a paint style)
255255
*/
256256
public Map<Source, ElemStyles> getSources() {

src/org/openstreetmap/josm/data/preferences/StrokeProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected String toString(BasicStroke t) {
5656

5757
/**
5858
* Return s new BasicStroke object with given thickness and style
59-
* @param code = 3.5 -&gt; thickness=3.5px; 3.5 10 5 -&gt; thickness=3.5px, dashed: 10px filled + 5px empty
59+
* @param code = 3.5 thickness=3.5px; 3.5 10 5 thickness=3.5px, dashed: 10px filled + 5px empty
6060
* @return stroke for drawing
6161
*/
6262
public static BasicStroke getFromString(String code) {

src/org/openstreetmap/josm/data/preferences/sources/SourceEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public String getDisplayString() {
156156

157157
/**
158158
* Extracts file part from url, e.g.:
159-
* <code>http://www.test.com/file.xml?format=text --&gt; file.xml</code>
159+
* <code>http://www.test.com/file.xml?format=text file.xml</code>
160160
* @return The filename part of the URL
161161
*/
162162
public String getFileNamePart() {

src/org/openstreetmap/josm/data/projection/ShiftedProjecting.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class ShiftedProjecting implements Projecting {
2121
/**
2222
* Create a new {@link ShiftedProjecting}
2323
* @param base The base to use
24-
* @param offset The offset to move base. Subtracted when converting lat/lon-&gt;east/north.
24+
* @param offset The offset to move base. Subtracted when converting lat/loneast/north.
2525
*/
2626
public ShiftedProjecting(Projecting base, EastNorth offset) {
2727
this.base = base;

src/org/openstreetmap/josm/data/projection/proj/Proj.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public interface Proj {
7171
* This is a fallback for when the projection bounds are not specified
7272
* explicitly.
7373
*
74-
* In this area, the round trip lat/lon -&gt; east/north -&gt; lat/lon should
74+
* In this area, the round trip lat/lon east/north lat/lon should
7575
* return the starting value with small error. In addition, regions with
7676
* extreme distortions should be excluded, if possible.
7777
*

src/org/openstreetmap/josm/data/validation/TestError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
public class TestError implements Comparable<TestError> {
3939
/**
4040
* Used to switch users over to new ignore system, UNIQUE_CODE_MESSAGE_STATE
41-
* 1_704_067_200L -> 2024-01-01
41+
* 1_704_067_200L 2024-01-01
4242
* We can probably remove this and the supporting code in 2025.
4343
*/
4444
private static boolean switchOver = Instant.now().isAfter(Instant.ofEpochMilli(1_704_067_200L));

src/org/openstreetmap/josm/data/validation/ValidatorCLI.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ public class ValidatorCLI implements CLIModule {
7777

7878
/** The input file(s) */
7979
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 */
8181
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 */
8383
private final Map<String, String> output = new HashMap<>();
8484

8585
private static final Supplier<ProgressMonitor> progressMonitorFactory = CLIProgressMonitor::new;
@@ -332,7 +332,7 @@ private static String getDefaultOutputName(final String inputString) {
332332

333333
/**
334334
* Split a string into a filename + extension. Example:
335-
* "foo.bar.txt" -> ["foo.bar", "txt"]
335+
* "foo.bar.txt" ["foo.bar", "txt"]
336336
* <p>
337337
* Please note that future versions of Java may make this method redundant. It is not as of Java 21 (look for
338338
* something like {@code Path#getExtension}, see <a href="https://bugs.openjdk.org/browse/JDK-8298318">JDK-8298318</a>.

src/org/openstreetmap/josm/gui/io/importexport/FileExporter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void exportDataQuiet(File file, Layer layer) throws IOException {
6767
}
6868

6969
/**
70-
* Returns the enabled state of this {@code FileExporter}. When enabled, it is listed and usable in "File-&gt;Save" dialogs.
70+
* Returns the enabled state of this {@code FileExporter}. When enabled, it is listed and usable in "FileSave" dialogs.
7171
* @return true if this {@code FileExporter} is enabled
7272
* @since 5459
7373
*/
@@ -76,7 +76,7 @@ public final boolean isEnabled() {
7676
}
7777

7878
/**
79-
* Sets the enabled state of the {@code FileExporter}. When enabled, it is listed and usable in "File-&gt;Save" dialogs.
79+
* Sets the enabled state of the {@code FileExporter}. When enabled, it is listed and usable in "FileSave" dialogs.
8080
* @param enabled true to enable this {@code FileExporter}, false to disable it
8181
* @since 5459
8282
*/

0 commit comments

Comments
 (0)