diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-24 22:52:49 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-24 22:52:49 -0700 |
commit | 21bd340006570f24cad6100e2346e09977879147 (patch) | |
tree | e74e380f44e6816b5af3aed1a6c4c1c4fd73cbcc /src/main/java/org | |
parent | fb78c6a42f7e947b818044461414ef2470fc22f6 (diff) | |
download | trackermap-server-21bd340006570f24cad6100e2346e09977879147.tar.gz trackermap-server-21bd340006570f24cad6100e2346e09977879147.tar.bz2 trackermap-server-21bd340006570f24cad6100e2346e09977879147.zip |
Fix formatting
Diffstat (limited to 'src/main/java/org')
-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)); |