aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper
diff options
context:
space:
mode:
authorKevin Goos <kevingoos@telenet.be>2018-03-21 10:37:48 +0100
committerKevin Goos <kevingoos@telenet.be>2018-03-21 10:37:48 +0100
commit64e342442d74116c2247d85467e49722b7ab45ef (patch)
tree7fd9c4f967c2ad75d42e83755bfdbf434de60810 /src/org/traccar/helper
parent8cc019cf5c43af6dc741138511623551a772b739 (diff)
downloadtrackermap-server-64e342442d74116c2247d85467e49722b7ab45ef.tar.gz
trackermap-server-64e342442d74116c2247d85467e49722b7ab45ef.tar.bz2
trackermap-server-64e342442d74116c2247d85467e49722b7ab45ef.zip
Simplify battery voltage
Diffstat (limited to 'src/org/traccar/helper')
-rw-r--r--src/org/traccar/helper/DataConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/DataConverter.java b/src/org/traccar/helper/DataConverter.java
index 0df0219ad..7abd4ae93 100644
--- a/src/org/traccar/helper/DataConverter.java
+++ b/src/org/traccar/helper/DataConverter.java
@@ -26,7 +26,7 @@ public final class DataConverter {
public static byte[] parseHex(String string) {
try {
- return Hex.decodeHex(string.toCharArray());
+ return Hex.decodeHex(string);
} catch (DecoderException e) {
throw new RuntimeException(e);
}