From 8a9ed3cd8a001c0b4fd6ba2869db84195a449769 Mon Sep 17 00:00:00 2001 From: drecchia Date: Sun, 17 Jul 2016 22:00:27 -0300 Subject: - Fixed findbugs warning. --- src/org/traccar/protocol/CarcellProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); -- cgit v1.2.3