From 2dc53f13f965b17152b4174e51c60d143b12fbc7 Mon Sep 17 00:00:00 2001 From: Christoph Krey Date: Mon, 12 Nov 2018 11:19:48 +0100 Subject: [FIX] removed superfluos blank line, used meaningfull variable name --- src/org/traccar/protocol/OwnTracksProtocolDecoder.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/org') diff --git a/src/org/traccar/protocol/OwnTracksProtocolDecoder.java b/src/org/traccar/protocol/OwnTracksProtocolDecoder.java index 807112d10..c81ebe522 100644 --- a/src/org/traccar/protocol/OwnTracksProtocolDecoder.java +++ b/src/org/traccar/protocol/OwnTracksProtocolDecoder.java @@ -14,7 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.traccar.protocol; import io.netty.channel.Channel; @@ -114,13 +113,13 @@ public class OwnTracksProtocolDecoder extends BaseHttpProtocolDecoder { position.setAccuracy(root.getInt("acc")); } if (root.containsKey("t")) { - String t = root.getString("t"); - position.set("t", t); + String trigger = root.getString("t"); + position.set("t", trigger); Integer rty = -1; if (root.containsKey("rty")) { rty = root.getInt("rty"); } - setEventOrAlarm(position, t, rty); + setEventOrAlarm(position, trigger, rty); } if (root.containsKey("batt")) { position.set(Position.KEY_BATTERY_LEVEL, root.getInt("batt")); -- cgit v1.2.3