kopia lustrzana https://github.com/JOSM/MapWithAI
Fix javadoc issues
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head
rodzic
c7a913ef0b
commit
9c839621c3
|
@ -123,7 +123,7 @@ public class GetDataRunnable extends RecursiveTask<DataSet> {
|
|||
* Perform cleanups on a dataset (one dataset at a time)
|
||||
*
|
||||
* @param dataSet The dataset to cleanup
|
||||
* @param bounds
|
||||
* @param bounds The newly added bounds to the dataset. May be {@code null}.
|
||||
*/
|
||||
public static void cleanup(DataSet dataSet, Bounds bounds) {
|
||||
if (SwingUtilities.isEventDispatchThread()) {
|
||||
|
|
|
@ -144,7 +144,6 @@ public abstract class AbstractConflationCommand extends Command {
|
|||
|
||||
/**
|
||||
* @return {@code true} if the key should not exist in OpenStreetMap
|
||||
* @return
|
||||
*/
|
||||
public abstract boolean keyShouldNotExistInOSM();
|
||||
}
|
||||
|
|
|
@ -160,6 +160,7 @@ public class CreateConnectionsCommand extends Command {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param command The command class to remove
|
||||
* @return {@code true} if the conflation command was removed and was present
|
||||
* @see List#remove
|
||||
*/
|
||||
|
|
|
@ -97,6 +97,7 @@ public class StreetAddressOrder extends Test {
|
|||
* Check the ordering of primitives by creating nodes at their centroids and
|
||||
* checking to see if a sharp angle is created.
|
||||
*
|
||||
* @param <T> The type of the primitive
|
||||
* @param primitives The primitives to check the order of
|
||||
* @return Primitives that are out of order
|
||||
* @see SharpAngles
|
||||
|
@ -166,6 +167,7 @@ public class StreetAddressOrder extends Test {
|
|||
/**
|
||||
* Get addresses on different sides of the road
|
||||
*
|
||||
* @param <T> The type of the primitive
|
||||
* @param left If {@code true}, get addresses on the "left" side of the
|
||||
* road
|
||||
* @param addresses Addresses to filter for the side on the road
|
||||
|
|
|
@ -175,7 +175,8 @@ public class StreetAddressTest extends Test {
|
|||
*
|
||||
* @param way The way to get a distance to
|
||||
* @param prim The primitive to get a distance from
|
||||
* @return A Pair<Way, Double> of the distance from the primitive to the way
|
||||
* @return A Pair<Way, Double> of the distance from the primitive to the
|
||||
* way
|
||||
*/
|
||||
public static Pair<Way, Double> distanceToWay(Way way, OsmPrimitive prim) {
|
||||
return new Pair<>(way, Geometry.getDistance(way, prim));
|
||||
|
|
|
@ -438,7 +438,9 @@ public final class Access {
|
|||
* ,"minibus","share_taxi","hov","car_sharing","emergency","hazmat","disabled"
|
||||
*/).stream().map(AccessTags::getKey).collect(Collectors.toSet()));
|
||||
|
||||
/** Map<Access Method, Map<Parent/Child, List<Access Methods>> */
|
||||
/**
|
||||
* Map<Access Method, Map<Parent/Child, List<Access Methods>>>
|
||||
*/
|
||||
private static final Map<String, Map<String, List<String>>> accessMethods = new HashMap<>();
|
||||
static {
|
||||
RESTRICTION_VALUES.addAll(POSITIVE_ACCESS);
|
||||
|
|
Ładowanie…
Reference in New Issue