From 15a540f2b585bb8c7cd7097386957ee332e3d202 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 26 Jul 2015 20:30:02 +1200 Subject: Fix minor java warning --- src/org/traccar/database/ActiveDevice.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/org/traccar/database') diff --git a/src/org/traccar/database/ActiveDevice.java b/src/org/traccar/database/ActiveDevice.java index 33d9adad3..571ebf465 100644 --- a/src/org/traccar/database/ActiveDevice.java +++ b/src/org/traccar/database/ActiveDevice.java @@ -15,18 +15,17 @@ */ package org.traccar.database; +import java.net.SocketAddress; import org.jboss.netty.channel.Channel; import org.traccar.Protocol; import org.traccar.model.Command; -import java.net.SocketAddress; - public class ActiveDevice { - private long deviceId; - private Protocol protocol; - private Channel channel; - private SocketAddress remoteAddress; + private final long deviceId; + private final Protocol protocol; + private final Channel channel; + private final SocketAddress remoteAddress; public ActiveDevice(long deviceId, Protocol protocol, Channel channel, SocketAddress remoteAddress) { this.deviceId = deviceId; -- cgit v1.2.3