diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-27 17:30:57 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-27 17:30:57 +1200 |
commit | ac88c14d7982ef7571ae6f09ec50267ea4f1062a (patch) | |
tree | ba1eed800ba1b18d4017d923ad7e843eabeabc24 /src/org/traccar/http/MainServlet.java | |
parent | e02651741e455c8263c412cf9e14ed3e2d9834fe (diff) | |
download | trackermap-server-ac88c14d7982ef7571ae6f09ec50267ea4f1062a.tar.gz trackermap-server-ac88c14d7982ef7571ae6f09ec50267ea4f1062a.tar.bz2 trackermap-server-ac88c14d7982ef7571ae6f09ec50267ea4f1062a.zip |
Reuse constants in servlets
Diffstat (limited to 'src/org/traccar/http/MainServlet.java')
-rw-r--r-- | src/org/traccar/http/MainServlet.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/http/MainServlet.java b/src/org/traccar/http/MainServlet.java index 87769b780..62345489e 100644 --- a/src/org/traccar/http/MainServlet.java +++ b/src/org/traccar/http/MainServlet.java @@ -40,9 +40,9 @@ import org.traccar.model.Position; public class MainServlet extends HttpServlet { - private static final long ASYNC_TIMEOUT = 120000; + public static final String USER_ID = "userId"; - private static final String USER_ID = "userId"; + private static final long ASYNC_TIMEOUT = 120000; @Override protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { |