aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authordrecchia <danilo@deltatecnologia.com>2016-07-17 22:00:27 -0300
committerdrecchia <danilo@deltatecnologia.com>2016-07-17 22:00:27 -0300
commit8a9ed3cd8a001c0b4fd6ba2869db84195a449769 (patch)
tree864ed8d2cb65726dc9cda5914042c54134ed3c9f /src/org/traccar
parenta648c36ae4169ec5ef454f7ed9078cf4f6c7901f (diff)
downloadtrackermap-server-8a9ed3cd8a001c0b4fd6ba2869db84195a449769.tar.gz
trackermap-server-8a9ed3cd8a001c0b4fd6ba2869db84195a449769.tar.bz2
trackermap-server-8a9ed3cd8a001c0b4fd6ba2869db84195a449769.zip
- Fixed findbugs warning.
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/CarcellProtocolDecoder.java2
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"));