aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-26 20:30:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-26 20:30:02 +1200
commit15a540f2b585bb8c7cd7097386957ee332e3d202 (patch)
tree5d360eee6e07fab7d4784bb96bab0ee4765ba399 /src/org/traccar/database
parentcfa8225c8298fd933d92f62928edbd1f6f9096fc (diff)
downloadtrackermap-server-15a540f2b585bb8c7cd7097386957ee332e3d202.tar.gz
trackermap-server-15a540f2b585bb8c7cd7097386957ee332e3d202.tar.bz2
trackermap-server-15a540f2b585bb8c7cd7097386957ee332e3d202.zip
Fix minor java warning
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;