summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2018-09-29 22:43:33 +0200
committermvglasow <michael -at- vonglasow.com>2018-09-29 22:43:33 +0200
commit375ded9277ca63b45c20689ecac95e66630123ff (patch)
tree4dc6e0c51d5a2e07156d01181dd4c415df4a23c3
parent32209d4af08b5eae68fbbe4dd25ec9d395feca12 (diff)
downloadnavit-375ded9277ca63b45c20689ecac95e66630123ff.tar.gz
Refactor:core:Fix style compliance issues
Signed-off-by: mvglasow <michael -at- vonglasow.com>
-rw-r--r--navit/android/src/org/navitproject/navit/NavitTraff.java6
-rw-r--r--navit/traffic.c5
2 files changed, 6 insertions, 5 deletions
diff --git a/navit/android/src/org/navitproject/navit/NavitTraff.java b/navit/android/src/org/navitproject/navit/NavitTraff.java
index d86fe1cfa..a98b91948 100644
--- a/navit/android/src/org/navitproject/navit/NavitTraff.java
+++ b/navit/android/src/org/navitproject/navit/NavitTraff.java
@@ -33,7 +33,7 @@ import java.util.List;
/**
* @brief The TraFF receiver implementation.
- *
+ *
* This class registers the broadcast receiver for TraFF feeds, polls all registered sources once on creation, receives
* TraFF feeds and forwards them to the traffic module for processing.
*/
@@ -54,7 +54,7 @@ public class NavitTraff extends BroadcastReceiver {
/**
* @brief Forwards a newly received TraFF feed to the traffic module for processing.
- *
+ *
* This is called when a TraFF feed is received.
*
* @param id The identifier for the native callback implementation
@@ -64,7 +64,7 @@ public class NavitTraff extends BroadcastReceiver {
/**
* @brief Creates a new {@code NavitTraff} instance.
- *
+ *
* Creating a new {@code NavitTraff} instance registers a broadcast receiver for TraFF broadcasts and polls all
* registered sources once to ensure we have messages which were received by these sources before we started up.
*
diff --git a/navit/traffic.c b/navit/traffic.c
index 6191b1d81..46895eb17 100644
--- a/navit/traffic.c
+++ b/navit/traffic.c
@@ -2422,11 +2422,12 @@ static int traffic_location_is_valid(struct traffic_location * this_) {
/**
* @brief Whether the current point is a candidate for low-res endpoint matching.
- *
+ *
* @param this_ The point to examine
* @param s_prev The route segment leading to `this_` (NULL for the start point)
*/
-static int route_graph_point_is_endpoint_candidate(struct route_graph_point *this_, struct route_graph_segment *s_prev) {
+static int route_graph_point_is_endpoint_candidate(struct route_graph_point *this_,
+ struct route_graph_segment *s_prev) {
int ret;
/* Whether we are at a junction of 3 or more segments */