diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2011-03-23 12:33:29 +0000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2011-03-23 12:33:29 +0000 |
commit | dd6db81db43f5c23e5349c0b06d4a0ce6830d127 (patch) | |
tree | 2277f94798a6bc5988f518c1472b2777a2e03cc6 /src/net/sourceforge/opentracking/protocol | |
parent | 52c26cb593201a74443329221722cc33c142b476 (diff) | |
download | trackermap-server-dd6db81db43f5c23e5349c0b06d4a0ce6830d127.tar.gz trackermap-server-dd6db81db43f5c23e5349c0b06d4a0ce6830d127.tar.bz2 trackermap-server-dd6db81db43f5c23e5349c0b06d4a0ce6830d127.zip |
Diffstat (limited to 'src/net/sourceforge/opentracking/protocol')
-rw-r--r-- | src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java b/src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java index 15cb99f55..7b21a1a72 100644 --- a/src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java +++ b/src/net/sourceforge/opentracking/protocol/xexun/XexunProtocolDecoder.java @@ -112,6 +112,8 @@ public class XexunProtocolDecoder extends OneToOneDecoder { String course = parser.group(index++); if (course != null) { position.setCourse(Double.valueOf(course)); + } else { + position.setCourse(0.0); } // Date |