diff options
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r-- | src/main/java/org/traccar/protocol/TopinProtocolDecoder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/TopinProtocolDecoder.java b/src/main/java/org/traccar/protocol/TopinProtocolDecoder.java index d4adba4e6..df325bc69 100644 --- a/src/main/java/org/traccar/protocol/TopinProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/TopinProtocolDecoder.java @@ -30,7 +30,6 @@ import org.traccar.model.Network; import org.traccar.model.Position; import org.traccar.model.WifiAccessPoint; -import java.math.BigInteger; import java.net.SocketAddress; import java.util.Calendar; import java.util.TimeZone; @@ -69,7 +68,7 @@ public class TopinProtocolDecoder extends BaseProtocolDecoder { Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("UTC")); dateBuffer.writeShort(calendar.get(Calendar.YEAR)); - dateBuffer.writeByte(calendar.get(Calendar.MONTH)+1); + dateBuffer.writeByte(calendar.get(Calendar.MONTH) + 1); dateBuffer.writeByte(calendar.get(Calendar.DAY_OF_MONTH)); dateBuffer.writeByte(calendar.get(Calendar.HOUR_OF_DAY)); dateBuffer.writeByte(calendar.get(Calendar.MINUTE)); |