diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-21 22:36:40 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-21 22:36:40 +1200 |
commit | 9e2ef178118d776f4bbbe8a30e27ff6134dacacd (patch) | |
tree | 668d6f51a459e2e9e2e86bf875646c8de744cdcb /src/org/traccar/http/MainServlet.java | |
parent | 6d6beb07cdd22e360e020fd7399bf989c2227e82 (diff) | |
download | trackermap-server-9e2ef178118d776f4bbbe8a30e27ff6134dacacd.tar.gz trackermap-server-9e2ef178118d776f4bbbe8a30e27ff6134dacacd.tar.bz2 trackermap-server-9e2ef178118d776f4bbbe8a30e27ff6134dacacd.zip |
Change database init code
Diffstat (limited to 'src/org/traccar/http/MainServlet.java')
-rw-r--r-- | src/org/traccar/http/MainServlet.java | 3 |
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; |