From 21bd340006570f24cad6100e2346e09977879147 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 24 Jun 2020 22:52:49 -0700 Subject: Fix formatting --- src/main/java/org/traccar/protocol/TopinProtocolDecoder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java') 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)); -- cgit v1.2.3