aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar')
-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);
}