diff options
author | drecchia <danilo@deltatecnologia.com> | 2016-07-17 22:00:27 -0300 |
---|---|---|
committer | drecchia <danilo@deltatecnologia.com> | 2016-07-17 22:00:27 -0300 |
commit | 8a9ed3cd8a001c0b4fd6ba2869db84195a449769 (patch) | |
tree | 864ed8d2cb65726dc9cda5914042c54134ed3c9f /src/org/traccar/protocol | |
parent | a648c36ae4169ec5ef454f7ed9078cf4f6c7901f (diff) | |
download | traccar-server-8a9ed3cd8a001c0b4fd6ba2869db84195a449769.tar.gz traccar-server-8a9ed3cd8a001c0b4fd6ba2869db84195a449769.tar.bz2 traccar-server-8a9ed3cd8a001c0b4fd6ba2869db84195a449769.zip |
- Fixed findbugs warning.
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/CarcellProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CarcellProtocolDecoder.java b/src/org/traccar/protocol/CarcellProtocolDecoder.java index e8c30f276..50b294f45 100644 --- a/src/org/traccar/protocol/CarcellProtocolDecoder.java +++ b/src/org/traccar/protocol/CarcellProtocolDecoder.java @@ -141,7 +141,7 @@ public class CarcellProtocolDecoder extends BaseProtocolDecoder { parser.next(); // panic button status - Integer painelStatus = parser.nextInt(); + String painelStatus = parser.next(); position.set(Position.KEY_ALARM, painelStatus.equals("1")); position.set("painel", painelStatus.equals("2")); |