aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorBen Harris <mail@bharr.is>2022-10-26 09:02:53 +0800
committerGitHub <noreply@github.com>2022-10-26 09:02:53 +0800
commitfcdec06d0a6b9a742709de967b122ad6213637c1 (patch)
treef4dd5c24f405fa445e946472d2fe156924ffb313 /src/main/java/org/traccar/protocol
parent8fe9e3f6ce857705fa609aa2728f73fdf98f3dbb (diff)
downloadtrackermap-server-fcdec06d0a6b9a742709de967b122ad6213637c1.tar.gz
trackermap-server-fcdec06d0a6b9a742709de967b122ad6213637c1.tar.bz2
trackermap-server-fcdec06d0a6b9a742709de967b122ad6213637c1.zip
Huabao: code style - ordering
Co-authored-by: Anton Tananaev <anton.tananaev@gmail.com>
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
index cbaa6b9fd..b6940aecf 100644
--- a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
@@ -225,7 +225,7 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder {
formatMessage(MSG_TERMINAL_REGISTER_RESPONSE, id, false, response), remoteAddress));
}
- } else if (type == MSG_TERMINAL_AUTH || type == MSG_HEARTBEAT || type == MSG_PHOTO || type == MSG_HEARTBEAT_2) {
+ } else if (type == MSG_TERMINAL_AUTH || type == MSG_HEARTBEAT || type == MSG_HEARTBEAT_2 || type == MSG_PHOTO) {
sendGeneralResponse(channel, remoteAddress, id, type, index);