From 42df6c35ebe5e2855917a0ae8463c1bd10da1afa Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Mon, 1 Jun 2015 13:00:38 +0200
Subject: [PATCH] Personal speed limit must not be zero.

---
 Doc/Sd1/arrays.xml                                              | 2 +-
 .../main/java/de/hdm_stuttgart/mi/sd1/navigation/Segment.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Doc/Sd1/arrays.xml b/Doc/Sd1/arrays.xml
index bbed5bdce..d80e71b79 100644
--- a/Doc/Sd1/arrays.xml
+++ b/Doc/Sd1/arrays.xml
@@ -115,7 +115,7 @@
     * @param route The array of segments composing a route.
     * 
     * @param personalSpeedLimit The drivers personal speed limit whether or 
-    *        not official limits apply.
+    *        not official limits apply. Must be greater than 0.
     * 
     * @return The minimal duration in (rounded) minutes with respect to all
     *         speed limits. Must be a positive (non-zero) value.
diff --git a/P/Sd1/Navigation/V2/src/main/java/de/hdm_stuttgart/mi/sd1/navigation/Segment.java b/P/Sd1/Navigation/V2/src/main/java/de/hdm_stuttgart/mi/sd1/navigation/Segment.java
index ddd83deae..4364bc55b 100644
--- a/P/Sd1/Navigation/V2/src/main/java/de/hdm_stuttgart/mi/sd1/navigation/Segment.java
+++ b/P/Sd1/Navigation/V2/src/main/java/de/hdm_stuttgart/mi/sd1/navigation/Segment.java
@@ -50,7 +50,7 @@ public class Segment {
     * @param route The array of segments composing a route.
     * 
     * @param personalSpeedLimit The drivers personal speed limit whether or 
-    *        not official limits apply.
+    *        not official limits apply. Must be greater than 0.
     * 
     * @return The minimal duration in (rounded) minutes with respect to all
     *         speed limits. Must be a positive (non-zero) value.
-- 
GitLab