diff options
author | Kevin Goos <kevingoos@telenet.be> | 2018-03-16 15:33:46 +0100 |
---|---|---|
committer | Kevin Goos <kevingoos@telenet.be> | 2018-03-16 15:33:46 +0100 |
commit | 4f08521052188bc0de0be2f1a62f2bc07f70c8a4 (patch) | |
tree | fd8bf2298f30a74b78530abf1b207a5aa925277d /src/org | |
parent | 3b7c9c56e198ce213d3e113a2fbc4148b5d85558 (diff) | |
download | trackermap-server-4f08521052188bc0de0be2f1a62f2bc07f70c8a4.tar.gz trackermap-server-4f08521052188bc0de0be2f1a62f2bc07f70c8a4.tar.bz2 trackermap-server-4f08521052188bc0de0be2f1a62f2bc07f70c8a4.zip |
Fixed build error on char array
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/helper/DataConverter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/DataConverter.java b/src/org/traccar/helper/DataConverter.java index 7abd4ae93..0df0219ad 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); + return Hex.decodeHex(string.toCharArray()); } catch (DecoderException e) { throw new RuntimeException(e); } |