diff options
author | Anton Tananaev <anton@traccar.org> | 2023-07-19 07:45:13 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-07-19 07:45:13 -0700 |
commit | dcef13b1fc7cf052463e11532365b3ad1f948b99 (patch) | |
tree | ebf6a3b5d0a84555f4a3b0a55739b0aa2f5b7382 /src/main/java/org/traccar/model/Driver.java | |
parent | 5a1a8d9192ee44b116f10e5ce3551a4e4bc70deb (diff) | |
download | trackermap-server-dcef13b1fc7cf052463e11532365b3ad1f948b99.tar.gz trackermap-server-dcef13b1fc7cf052463e11532365b3ad1f948b99.tar.bz2 trackermap-server-dcef13b1fc7cf052463e11532365b3ad1f948b99.zip |
Trim important fields
Diffstat (limited to 'src/main/java/org/traccar/model/Driver.java')
-rw-r--r-- | src/main/java/org/traccar/model/Driver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Driver.java b/src/main/java/org/traccar/model/Driver.java index b9e023088..2689c67f2 100644 --- a/src/main/java/org/traccar/model/Driver.java +++ b/src/main/java/org/traccar/model/Driver.java @@ -38,7 +38,7 @@ public class Driver extends ExtendedModel { } public void setUniqueId(String uniqueId) { - this.uniqueId = uniqueId; + this.uniqueId = uniqueId != null ? uniqueId.trim() : null; } } |