aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r--src/org/traccar/database/ActiveDevice.java11
1 files changed, 5 insertions, 6 deletions
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;