aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/http
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-21 22:36:40 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-21 22:36:40 +1200
commit9e2ef178118d776f4bbbe8a30e27ff6134dacacd (patch)
tree668d6f51a459e2e9e2e86bf875646c8de744cdcb /src/org/traccar/http
parent6d6beb07cdd22e360e020fd7399bf989c2227e82 (diff)
downloadtrackermap-server-9e2ef178118d776f4bbbe8a30e27ff6134dacacd.tar.gz
trackermap-server-9e2ef178118d776f4bbbe8a30e27ff6134dacacd.tar.bz2
trackermap-server-9e2ef178118d776f4bbbe8a30e27ff6134dacacd.zip
Change database init code
Diffstat (limited to 'src/org/traccar/http')
-rw-r--r--src/org/traccar/http/MainServlet.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/http/MainServlet.java b/src/org/traccar/http/MainServlet.java
index ca5bcfc17..720e75df4 100644
--- a/src/org/traccar/http/MainServlet.java
+++ b/src/org/traccar/http/MainServlet.java
@@ -22,14 +22,13 @@ import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
-import java.io.PrintWriter;
import java.sql.SQLException;
public class MainServlet extends HttpServlet {
private static final String USER_ID = "userId";
- private DataManager dataManager;
+ private final DataManager dataManager;
public MainServlet(DataManager dataManager) {
this.dataManager = dataManager;