Signed-off-by: Taylor Smock <tsmock@meta.com>
pull/13/head
Taylor Smock 2022-12-14 09:18:09 -07:00
rodzic 9507670753
commit f633e40322
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 233BB2E466604E27
5 zmienionych plików z 13 dodań i 8 usunięć

Wyświetl plik

@ -68,7 +68,7 @@ import org.openstreetmap.josm.tools.Utils;
public class GetDataRunnable extends RecursiveTask<DataSet> {
/**
* This is functionally equivalent to
* {@link org.openstreetmap.josm.data.validation.tests.DuplicateNode#NodeHash}
* {@link org.openstreetmap.josm.data.validation.tests.DuplicateNode.NodeHash}
*/
private static class ILatLonHash implements Hash<Object, Object> {
private static final double PRECISION = DEGREE_BUFFER;
@ -76,6 +76,8 @@ public class GetDataRunnable extends RecursiveTask<DataSet> {
/**
* Returns the rounded coordinated according to {@link #PRECISION}
*
* @param coor The coordinate to round
* @return The rounded coordinate
* @see LatLon#roundToOsmPrecision
*/
private static ILatLon roundCoord(ILatLon coor) {
@ -484,8 +486,8 @@ public class GetDataRunnable extends RecursiveTask<DataSet> {
}
/**
* Create an efficient collection ({@link Storage}) of {@link List<Node>} and
* {@link Node} objects
* Create an efficient collection ({@link Storage}) of {@link List} of
* {@link Node}s and {@link Node} objects
*
* @param dataSet The dataset to get nodes from
* @return The storage to use

Wyświetl plik

@ -659,7 +659,7 @@ public class MapWithAIInfo extends
* Get the key that indicates an object is already conflated, and if so, to what
* Please note that it may be `true`/`false` instead of an object id.
*
* return The key returned by the server indicating the conflation object
* @return The key returned by the server indicating the conflation object
*/
public String getAlreadyConflatedKey() {
return alreadyConflatedKey;

Wyświetl plik

@ -201,8 +201,9 @@ public class ESRISourceReader {
/**
* Get the json string for a URL
*
* @param url The URL to get
* @param fastFail Fail fast (1 second)
* @param url The URL to get
* @param fastFail Fail fast (1 second)
* @param defaultMaxAge the default max age for the response to be cached
* @return The json string, or {@code null}.
*/
@Nullable

Wyświetl plik

@ -405,10 +405,10 @@ public final class Access {
}
/**
* The key for children modes for the map, see {@link Access#getAccessMethods}
* The key for children modes for the map, see {@link Access#accessMethods}
*/
public static final String CHILDREN = "children";
/** The key for parent modes for the map, see {@link Access#getAccessMethods} */
/** The key for parent modes for the map, see {@link Access#accessMethods} */
public static final String PARENT = "parent";
/** This set has keys that indicate that access is possible */
private static final Set<String> POSITIVE_ACCESS = new HashSet<>(

Wyświetl plik

@ -75,6 +75,8 @@ public final class MapPaintUtils {
/**
* Get the safe color
*
* @return The safe color
*/
public Color getColor() {
return new Color(this.color.getRGB());