diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java index c4b29850d..ebc7e7c04 100644 --- a/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java @@ -243,7 +243,7 @@ public class GoSafeProtocolDecoder extends BaseProtocolDecoder { } else { List<Position> positions = new LinkedList<>(); - for (String item : parser.next().split("$")) { + for (String item : parser.next().split("\\$")) { positions.add(decodePosition(deviceSession, item)); } return positions; |