From 3acb0b1fdbb82db9242c13fca4021206b360a212 Mon Sep 17 00:00:00 2001 From: afischerdev Date: Sat, 30 Sep 2023 11:13:57 +0200 Subject: [PATCH] updated doc entries --- .../btools/router/RoutingParamCollector.java | 31 +++++++++++-------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/brouter-core/src/main/java/btools/router/RoutingParamCollector.java b/brouter-core/src/main/java/btools/router/RoutingParamCollector.java index 75a3135..fde32c6 100644 --- a/brouter-core/src/main/java/btools/router/RoutingParamCollector.java +++ b/brouter-core/src/main/java/btools/router/RoutingParamCollector.java @@ -14,8 +14,9 @@ public class RoutingParamCollector { /** * get a list of points and optional extra info for the points - * @param lonLats - linked list separated by ';' or '|' - * @return - a list + * + * @param lonLats linked list separated by ';' or '|' + * @return a list */ public List getWayPointList(String lonLats) { if (lonLats == null) throw new IllegalArgumentException("lonlats parameter not set"); @@ -49,9 +50,10 @@ public class RoutingParamCollector { /** * get a list of points (old style, positions only) - * @param lons - array with longitudes - * @param lats - array with latitudes - * @return - a list + * + * @param lons array with longitudes + * @param lats array with latitudes + * @return a list */ public List readPositions(double[] lons, double[] lats) { List wplist = new ArrayList<>(); @@ -93,9 +95,10 @@ public class RoutingParamCollector { /** * read a url like parameter list linked with '&' - * @param url - parameter list - * @return - a hashmap of the parameter - * @throws UnsupportedEncodingException + * + * @param url parameter list + * @return a hashmap of the parameter + * @throws UnsupportedEncodingException */ public Map getUrlParams(String url) throws UnsupportedEncodingException { HashMap params = new HashMap<>(); @@ -117,9 +120,10 @@ public class RoutingParamCollector { /** * fill a parameter map into the routing context - * @param rctx - the context - * @param wplist - the list of way points needed for 'straight' parameter - * @param params - the list of parameters + * + * @param rctx the context + * @param wplist the list of way points needed for 'straight' parameter + * @param params the list of parameters */ public void setParams(RoutingContext rctx, List wplist, Map params) { if (params != null) { @@ -227,8 +231,9 @@ public class RoutingParamCollector { /** * fill profile parameter list - * @param rctx - the routing context - * @param params - the list of parameters + * + * @param rctx the routing context + * @param params the list of parameters */ public void setProfileParams(RoutingContext rctx, Map params) { if (params != null) {