Fix javadoc issues

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
pull/1/head
Taylor Smock 2020-02-03 15:44:10 -07:00
rodzic c7a913ef0b
commit 9c839621c3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
6 zmienionych plików z 9 dodań i 4 usunięć

Wyświetl plik

@ -123,7 +123,7 @@ public class GetDataRunnable extends RecursiveTask<DataSet> {
* Perform cleanups on a dataset (one dataset at a time) * Perform cleanups on a dataset (one dataset at a time)
* *
* @param dataSet The dataset to cleanup * @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) { public static void cleanup(DataSet dataSet, Bounds bounds) {
if (SwingUtilities.isEventDispatchThread()) { if (SwingUtilities.isEventDispatchThread()) {

Wyświetl plik

@ -144,7 +144,6 @@ public abstract class AbstractConflationCommand extends Command {
/** /**
* @return {@code true} if the key should not exist in OpenStreetMap * @return {@code true} if the key should not exist in OpenStreetMap
* @return
*/ */
public abstract boolean keyShouldNotExistInOSM(); public abstract boolean keyShouldNotExistInOSM();
} }

Wyświetl plik

@ -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 * @return {@code true} if the conflation command was removed and was present
* @see List#remove * @see List#remove
*/ */

Wyświetl plik

@ -97,6 +97,7 @@ public class StreetAddressOrder extends Test {
* Check the ordering of primitives by creating nodes at their centroids and * Check the ordering of primitives by creating nodes at their centroids and
* checking to see if a sharp angle is created. * 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 * @param primitives The primitives to check the order of
* @return Primitives that are out of order * @return Primitives that are out of order
* @see SharpAngles * @see SharpAngles
@ -166,6 +167,7 @@ public class StreetAddressOrder extends Test {
/** /**
* Get addresses on different sides of the road * 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 * @param left If {@code true}, get addresses on the "left" side of the
* road * road
* @param addresses Addresses to filter for the side on the road * @param addresses Addresses to filter for the side on the road

Wyświetl plik

@ -175,7 +175,8 @@ public class StreetAddressTest extends Test {
* *
* @param way The way to get a distance to * @param way The way to get a distance to
* @param prim The primitive to get a distance from * @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&lt;Way, Double&gt; of the distance from the primitive to the
* way
*/ */
public static Pair<Way, Double> distanceToWay(Way way, OsmPrimitive prim) { public static Pair<Way, Double> distanceToWay(Way way, OsmPrimitive prim) {
return new Pair<>(way, Geometry.getDistance(way, prim)); return new Pair<>(way, Geometry.getDistance(way, prim));

Wyświetl plik

@ -438,7 +438,9 @@ public final class Access {
* ,"minibus","share_taxi","hov","car_sharing","emergency","hazmat","disabled" * ,"minibus","share_taxi","hov","car_sharing","emergency","hazmat","disabled"
*/).stream().map(AccessTags::getKey).collect(Collectors.toSet())); */).stream().map(AccessTags::getKey).collect(Collectors.toSet()));
/** Map<Access Method, Map<Parent/Child, List<Access Methods>> */ /**
* Map&lt;Access Method, Map&lt;Parent/Child, List&lt;Access Methods&gt;&gt;&gt;
*/
private static final Map<String, Map<String, List<String>>> accessMethods = new HashMap<>(); private static final Map<String, Map<String, List<String>>> accessMethods = new HashMap<>();
static { static {
RESTRICTION_VALUES.addAll(POSITIVE_ACCESS); RESTRICTION_VALUES.addAll(POSITIVE_ACCESS);